Module: ERLE

Defined in:
lib/erle.rb,
lib/erle/errors.rb,
lib/erle/parser.rb,
lib/erle/version.rb,
lib/erle/registry.rb,
lib/erle/elements/map.rb,
lib/erle/elements/pid.rb,
lib/erle/elements/ref.rb,
lib/erle/elements/atom.rb,
lib/erle/elements/enum.rb,
lib/erle/elements/list.rb,
lib/erle/elements/term.rb,
lib/erle/elements/tuple.rb,
lib/erle/elements/tuple.rb,
lib/erle/elements/binary.rb,
lib/erle/elements/string.rb,
lib/erle/elements/numbers.rb

Defined Under Namespace

Modules: Registry Classes: Atom, Binary, Enum, Error, Float, Integer, List, Luple, Map, NestingError, Number, Parser, ParserError, Pid, Ref, String, Term, Tuple

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.parse(str) ⇒ Object



20
21
22
# File 'lib/erle.rb', line 20

def self.parse(str)
  Parser.new(str).parse
end

.to_ruby(str) ⇒ Object



24
25
26
# File 'lib/erle.rb', line 24

def self.to_ruby(str)
  parse(str).to_ruby
end