Class: Dhall::Util::Not

Inherits:
Object
  • Object
show all
Defined in:
lib/dhall/util.rb

Instance Method Summary collapse

Constructor Details

#initialize(validator) ⇒ Not

Returns a new instance of Not.



55
56
57
# File 'lib/dhall/util.rb', line 55

def initialize(validator)
	@validator = validator
end

Instance Method Details

#===(other) ⇒ Object



59
60
61
# File 'lib/dhall/util.rb', line 59

def ===(other)
	!(@validator === other)
end