Class: CutePrint::RubyGenerator Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Class Method Details

.to_ruby(sexp) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
11
# File 'lib/cute_print/ruby_generator.rb', line 8

def self.to_ruby(sexp)
  sexp = sexp.deep_clone
  Ruby2Ruby.new.process(sexp)
end