Permalink
Browse files

fix call to delete_if

  • Loading branch information...
1 parent 460da70 commit 0458dbc5d85252adf828f36bab2fa2ba6130036d @minad minad committed Sep 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 0458dbc

Please sign in to comment.