Sha256: 3565c43bad8812291c6121dcb74529f222c22bb57e5e690a4b2e87202160822f

Contents?: true

Size: 839 Bytes

Versions: 18

Compression:

Stored size: 839 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

18 entries across 18 versions & 1 rubygems

Version Path
drg-0.14.0 bin/console
drg-0.13.1 bin/console
drg-0.13.0 bin/console
drg-0.12.0 bin/console
drg-0.11.0 bin/console
drg-0.10.0 bin/console
drg-0.9.5 bin/console
drg-0.9.4 bin/console
drg-0.9.3 bin/console
drg-0.9.2 bin/console
drg-0.9.0 bin/console
drg-0.8.1 bin/console
drg-0.8.0 bin/console
drg-0.7.0 bin/console
drg-0.6.0 bin/console
drg-0.5.1 bin/console
drg-0.5.0 bin/console
drg-0.4.2 bin/console