Class: BEL::Language::NullE

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



242
243
244
245
# File 'lib/bel/language.rb', line 242

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

#to_sObject



247
248
249
# File 'lib/bel/language.rb', line 247

def to_s
  "E:nil"
end