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.



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