Skip to content
Browse files

Fixed deprecated class name

[git-p4: depot-paths = "//src/heckle/dev/": change = 4365]
  • Loading branch information...
1 parent e27871e commit 5aeab550816654ba44d764b0522f814e08ac2eee @zenspider zenspider committed Oct 14, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/heckle.rb
View
6 lib/heckle.rb
@@ -205,13 +205,13 @@ def record_passing_mutation
def heckle(exp)
exp_copy = exp.deep_clone
src = begin
- RubyToRuby.new.process(exp)
+ Ruby2Ruby.new.process(exp)
rescue => e
puts "Error: #{e.message} with: #{klass_name}##{method_name}: #{exp_copy.inspect}"
raise e
end
- original = RubyToRuby.new.process(@original_tree.deep_clone)
+ original = Ruby2Ruby.new.process(@original_tree.deep_clone)
@reporter.replacing(klass_name, method_name, original, src) if @@debug
clean_name = method_name.to_s.gsub(/self\./, '')
@@ -260,7 +260,7 @@ def process_defs(exp)
recv = process exp.shift
meth = exp.shift
- self.method = "#{RubyToRuby.new.process(recv.deep_clone)}.#{meth}".intern
+ self.method = "#{Ruby2Ruby.new.process(recv.deep_clone)}.#{meth}".intern
result = s(:defs, recv, meth)
result << process(exp.shift) until exp.empty?

0 comments on commit 5aeab55

Please sign in to comment.
Something went wrong with that request. Please try again.