diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2018-11-01 14:12:12 +0800 |
---|---|---|
committer | Kyrylo Silin <silin@kyrylo.org> | 2018-11-01 14:12:12 +0800 |
commit | 9f833763f15e69321ea072045ec940ebc687ab62 (patch) | |
tree | 3c596b08ca21ab7016baba6ef91a92e0c4db13bd | |
parent | f22a037273c277e64be4b7d0244c3cb58c667588 (diff) | |
download | pry-9f833763f15e69321ea072045ec940ebc687ab62.tar.gz |
command: delete #source_location
This method doesn't seem to be used anywhere, so there's no benefit in keeping
it.
-rw-r--r-- | lib/pry/command.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/pry/command.rb b/lib/pry/command.rb index 5abd5555..40abbd99 100644 --- a/lib/pry/command.rb +++ b/lib/pry/command.rb @@ -68,10 +68,6 @@ class Pry new.help end - def source_location - block.source_location - end - def source_file Array(block.source_location).first end @@ -111,8 +107,6 @@ class Pry def source; self.class.source; end - def source_location; self.class.source_location; end - class << self def name super.to_s == "" ? "#<class(Pry::Command #{match.inspect})>" : super |