Class: UState::Query::True

Inherits:
Node
  • Object
show all
Defined in:
lib/ustate/query/true.rb

Instance Method Summary collapse

Methods inherited from Node

#indent, #inspect, #inspect_helper, #mass

Instance Method Details

#==(o) ⇒ Object



3
4
5
# File 'lib/ustate/query/true.rb', line 3

def ==(o)
  o.kind_of? True
end

#===(state) ⇒ Object



7
8
9
# File 'lib/ustate/query/true.rb', line 7

def ===(state)
  true
end

#to_sObject



11
12
13
# File 'lib/ustate/query/true.rb', line 11

def to_s
  true
end