Skip to content
Browse files

Fixed a typo in ContextualRuleSet#concat

  • Loading branch information...
1 parent e158693 commit 9d6f691b07941218c78b212c5a2715ef113a59aa @azimux azimux committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/aequitas/contextual_rule_set.rb
View
2 lib/aequitas/contextual_rule_set.rb
@@ -111,7 +111,7 @@ def add(rule_class, attribute_names, options = {}, &block)
# @return [self]
def concat(other)
other.rule_sets.each do |context_name, rule_set|
- add_rules_to_context(context_name, rules)
+ add_rules_to_context(context_name, rule_set)
end
self

0 comments on commit 9d6f691

Please sign in to comment.
Something went wrong with that request. Please try again.