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