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.
57 58 59 |
# File 'lib/dhall/util.rb', line 57 def initialize(validator) @validator = validator end |
Instance Method Details
#===(other) ⇒ Object
61 62 63 |
# File 'lib/dhall/util.rb', line 61 def ===(other) !(@validator === other) end |