Class: Fixnum

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

Instance Method Summary collapse

Instance Method Details

#to_nObject



3
4
5
# File 'lib/fixnum.rb', line 3

def to_n
  return Rogdl::Node.new(self.to_s)
end