Module: Module::VoidType

Defined in:
lib/composite_type.rb

Overview

Matches nothing.

Instance Method Summary collapse

Instance Method Details

#===(x) ⇒ Object



27
28
29
# File 'lib/composite_type.rb', line 27

def === x
  false
end

#>=(t) ⇒ Object



31
32
33
# File 'lib/composite_type.rb', line 31

def >= t
  self == t
end