Class: Symbol

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

Instance Method Summary collapse

Instance Method Details

#to_nObject



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

def to_n
  return Rogdl::Node.new(":#{self.to_s}")
end