lib/ustate/query/false.rb in ustate-client-0.0.7 vs lib/ustate/query/false.rb in ustate-client-0.0.8
- old
+ new
@@ -1,10 +1,15 @@
class UState::Query
class False < Node
- def initialize
+ def ==(other)
+ other.kind_of? False
end
def ===(state)
+ false
+ end
+
+ def to_s
false
end
end
end