Class: BEL::Language::NullE

Inherits:
Object
  • Object
show all
Defined in:
lib/bel/language.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



105
106
107
108
# File 'lib/bel/language.rb', line 105

def <=>(other)
  return 0 if NullE === other
  -1
end

#to_sObject



110
111
112
# File 'lib/bel/language.rb', line 110

def to_s
  "E:nil"
end