Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/linmeric/CnGal_new_classes.rb

Overview

Overload of NilClass

Author

Massimiliano Dal Mas ([email protected])

License

Distributed under MIT license

Instance Method Summary collapse

Instance Method Details

#sizeObject

  • returns: 0



134
135
136
# File 'lib/linmeric/CnGal_new_classes.rb', line 134

def size
  return 0
end

#to_sObject

  • returns: string representation of nil



129
130
131
# File 'lib/linmeric/CnGal_new_classes.rb', line 129

def to_s
  return "nil"
end