Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix call to delete_if

  • Loading branch information...
commit 0458dbc5d85252adf828f36bab2fa2ba6130036d 1 parent 460da70
@minad minad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/temple/mixins/engine_dsl.rb
View
2  lib/temple/mixins/engine_dsl.rb
@@ -100,7 +100,7 @@ def chain_class_constructor(filter, option_filter)
raise(ArgumentError, 'Only symbols allowed in option filter') unless option_filter.all? {|o| Symbol === o }
define_options(*option_filter) if respond_to?(:define_options)
proc do |engine|
- filter.new({}.update(engine.options).delete_if {|k| !option_filter.include?(k) }.update(local_options))
+ filter.new({}.update(engine.options).delete_if {|k,v| !option_filter.include?(k) }.update(local_options))
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.