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.



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