Class: UState::Query::GreaterEqual

Inherits:
Node
  • Object
show all
Includes:
Binarity
Defined in:
lib/ustate/query/greater_equal.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



5
6
7
# File 'lib/ustate/query/greater_equal.rb', line 5

def ===(state)
  x = state.send(@a) and x >= @b
end