Sha256: 7efbf84dece8c0436597e762ffa87ae0be41f37f9db17b4f0041beda1e098369

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

require "ruby2ruby"

require_relative "ruby_generator"

module CutePrint

  # @api private
  class RubyGenerator

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

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cute_print-1.0.0 lib/cute_print/ruby_generator.rb
cute_print-0.4.0 lib/cute_print/ruby_generator.rb
cute_print-0.3.0 lib/cute_print/ruby_generator.rb
cute_print-0.2.0 lib/cute_print/ruby_generator.rb
cute_print-0.1.0 lib/cute_print/ruby_generator.rb