Class: Dhall::Util::Not
- Inherits:
-
Object
- Object
- Dhall::Util::Not
- Defined in:
- lib/dhall/util.rb
Instance Method Summary collapse
- #===(other) ⇒ Object
-
#initialize(validator) ⇒ Not
constructor
A new instance of Not.
Constructor Details
#initialize(validator) ⇒ Not
Returns a new instance of Not.
75 76 77 |
# File 'lib/dhall/util.rb', line 75 def initialize(validator) @validator = validator end |
Instance Method Details
#===(other) ⇒ Object
79 80 81 |
# File 'lib/dhall/util.rb', line 79 def ===(other) !(@validator === other) end |