Module: Elixir::Atom

Defined in:
lib/elixir/atom.rb

Class Method Summary collapse

Class Method Details

.to_char_list(symbol) ⇒ Object



5
6
7
# File 'lib/elixir/atom.rb', line 5

def to_char_list symbol
  symbol.to_s.chars
end

.to_string(symbol) ⇒ Object



9
10
11
# File 'lib/elixir/atom.rb', line 9

def to_string symbol
  symbol.to_s
end