lib/eco/language/models/collection.rb in eco-helpers-0.9.1 vs lib/eco/language/models/collection.rb in eco-helpers-0.9.2

- old
+ new

@@ -98,11 +98,9 @@ newFrom @items - self.attr(attr, value, modifier) end def remove(attr, value, modifier = Language::MatchModifier.new) self < exclude(attr, value, modifier) - on_change - self end def attr(attr, value = true, modifier = Language::MatchModifier.new) if !!value == value # boolean? present(attr, value)