lib/maintain/value.rb in maintain-0.2.10 vs lib/maintain/value.rb in maintain-0.2.11

- old
+ new

@@ -77,10 +77,10 @@ def #{method} self == #{check.inspect} end EOC # Calling `method` on ourselves fails. Something to do w/subclasses. Meh. - return self == $1.to_sym + return self == check.to_sym elsif aggregates = @state.aggregates[check] self.class.class_eval <<-EOC def #{method} @state.aggregates[#{check.inspect}].include?(@value) end \ No newline at end of file