lib/ustate/query/not.rb in ustate-client-0.0.6 vs lib/ustate/query/not.rb in ustate-client-0.0.7
- old
+ new
@@ -1,11 +1,15 @@
class UState::Query
- class Not
+ class Not < Node
def initialize(a)
@a = a
end
def ===(state)
not @a === state
+ end
+
+ def inspect
+ inspect_helper @a
end
end
end