1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

undo whitespace changes

This commit is contained in:
Conrad Irwin 2013-12-11 08:44:49 -08:00
parent 4cf1d05034
commit 01c6f60b7a
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ class Pry
from_obj(target.eval("self"), name, target)
else
from_str(name, target, :instance => true) or
from_str(name, target, :methods => true)
from_str(name, target, :methods => true)
end
rescue Pry::RescuableException

View file

@ -62,7 +62,7 @@ describe Pry::Method do
meth.should == nil
end
it 'should look up methods using klass.new.method syntax' do
it 'should look up methods using klass.new.method syntax' do
klass = Class.new { def hello; :hello; end }
meth = Pry::Method.from_str("klass.new.hello", Pry.binding_for(binding))
meth.name.should == "hello"