Class: BEL::Language::NullE

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



232
233
234
235
# File 'lib/bel/language.rb', line 232

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

#to_sObject



237
238
239
# File 'lib/bel/language.rb', line 237

def to_s
  "E:nil"
end