Class: UState::Query::Not

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

Instance Method Summary collapse

Constructor Details

#initialize(a) ⇒ Not

Returns a new instance of Not.



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

def initialize(a)
  @a = a
end

Instance Method Details

#===(state) ⇒ Object



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

def ===(state)
  not @a === state
end