module ToFactory::Parsing::RubyParsingHelpers

Public Instance Methods

ruby2ruby() click to toggle source
# File lib/to_factory/parsing/ruby_parsing_helpers.rb, line 8
def ruby2ruby
  @ruby2ruby ||= Ruby2Ruby.new
end
ruby_parser() click to toggle source
# File lib/to_factory/parsing/ruby_parsing_helpers.rb, line 12
def ruby_parser
  @ruby_parseer ||= RubyParser.new
end
to_ruby(sexp) click to toggle source
# File lib/to_factory/parsing/ruby_parsing_helpers.rb, line 4
def to_ruby(sexp)
  ruby2ruby.process sexp.deep_clone
end