Class: UState::Query::Equals

Inherits:
Node
  • Object
show all
Includes:
Binarity
Defined in:
lib/ustate/query/equals.rb

Instance Method Summary collapse

Methods included from Binarity

#==, #a, #b, #children, #children=, #initialize, #inspect, #mass, #to_s

Methods inherited from Node

#indent, #inspect, #inspect_helper, #mass

Instance Method Details

#===(state) ⇒ Object



4
5
6
# File 'lib/ustate/query/equals.rb', line 4

def ===(state)
  state.send(@a) == @b
end