lib/erlectricity/conditions/static.rb in erlectricity-0.1.0 vs lib/erlectricity/conditions/static.rb in erlectricity-0.2.0

- old
+ new

@@ -1,17 +1,13 @@ module Erlectricity class StaticCondition < Condition attr_accessor :value - def initialize(value, name=nil) + def initialize(value) self.value = value - super(name) end def satisfies?(arg) arg.eql? value end - - def bindings_for(arg) - {} - end + end end \ No newline at end of file