Sha256: bbe146590911828b7b6b1e0e9aea3eca1e35b2a3ab49d6d283ff850bd4629020

Contents?: true

Size: 835 Bytes

Versions: 6

Compression:

Stored size: 835 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'pp'

require 'ruby2ruby'
require 'ruby_parser'

require 'rspec'
require 'object_tracker'
require_relative '../spec/spec_helper'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require 'pry'
# Pry.start
require 'irb'

def sexp
  ruby      = File.readlines(FIXTURE_ROOT.join 'report.rb').join
  parser    = RubyParser.new
  ruby2ruby = Ruby2Ruby.new
  parser.process(ruby)
  # ruby2ruby.process(sexp)
end

def sexp_spec
  ruby      = File.readlines(FIXTURE_ROOT.join 'report_spec.rb').join
  parser    = RubyParser.new
  ruby2ruby = Ruby2Ruby.new
  parser.process(ruby)
  # ruby2ruby.process(sexp)
end

IRB.start

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
drg-0.4.1 bin/console
drg-0.4.0 bin/console
drg-0.3.0 bin/console
drg-0.2.1 bin/console
drg-0.2.0 bin/console
drg-0.1.0 bin/console