Class: UState::Query::Not
- Inherits:
-
Object
- Object
- UState::Query::Not
- Defined in:
- lib/ustate/query/not.rb
Instance Method Summary collapse
- #===(state) ⇒ Object
-
#initialize(a) ⇒ Not
constructor
A new instance of Not.
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 |