lib/ustate/query/or.rb in ustate-client-0.0.6 vs lib/ustate/query/or.rb in ustate-client-0.0.7
- old
+ new
@@ -1,12 +1,16 @@
class UState::Query
- class Or
+ class Or < Node
def initialize(a,b)
@a = a
@b = b
end
def ===(state)
@a === state or @b === state
+ end
+
+ def inspect
+ inspect_helper @a, @b
end
end
end