From 01c6f60b7a181de9cb603c76a2567b6e975baafc Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Wed, 11 Dec 2013 08:44:49 -0800 Subject: [PATCH] undo whitespace changes --- lib/pry/method.rb | 2 +- spec/method_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pry/method.rb b/lib/pry/method.rb index 053d7614..da46f81b 100644 --- a/lib/pry/method.rb +++ b/lib/pry/method.rb @@ -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 diff --git a/spec/method_spec.rb b/spec/method_spec.rb index 1ec022e5..304c6feb 100644 --- a/spec/method_spec.rb +++ b/spec/method_spec.rb @@ -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"