class ErlangConfig::ErlList

Public Instance Methods

to_ruby() click to toggle source
# File lib/erlang_config/erllist.rb, line 3
def to_ruby
  @elements.map {|el|
    (el.is_a?(ErlTerm) || el.is_a?(ErlEnumeration))? el.to_ruby : el
  }
end