Class: Kaiseki::NotPredicate
- Inherits:
-
PackageParser
- Object
- BasicParser
- PackageParser
- Kaiseki::NotPredicate
- Defined in:
- lib/predicate_not.rb
Instance Attribute Summary
Attributes inherited from BasicParser
Instance Method Summary collapse
Methods inherited from PackageParser
Methods inherited from BasicParser
Methods included from Parseable
#&, #action, #and?, #cast, #filter, #merge, #not!, #one_or_more, #optional, #override, #parse, #protect, #repeat, #set, #skip, #tag_error, #tag_result, #to_parseable, #validate, #zero_or_more, #|
Constructor Details
This class inherits a constructor from Kaiseki::PackageParser
Instance Method Details
#predicate? ⇒ Boolean
3 4 5 |
# File 'lib/predicate_not.rb', line 3 def predicate? true end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/predicate_not.rb', line 7 def to_s "#{@expected}.not!" end |