diff options
author | Ryan Fitzgerald <rwfitzge@gmail.com> | 2012-12-09 20:27:04 -0800 |
---|---|---|
committer | Ryan Fitzgerald <rwfitzge@gmail.com> | 2012-12-09 20:29:53 -0800 |
commit | 2bb3bbfb1b525128fa54efaf5556253ddee61b7e (patch) | |
tree | ae07957fd849b6f9ff66a2189dd44527036a4666 /lib/pry/commands/gist.rb | |
parent | 3f9f8bbee4652ff280dc1dbd1374c133e9ac7026 (diff) | |
download | pry-2bb3bbfb1b525128fa54efaf5556253ddee61b7e.tar.gz |
"Fix" build on 1.8 by avoiding method_source flakiness
Diffstat (limited to 'lib/pry/commands/gist.rb')
-rw-r--r-- | lib/pry/commands/gist.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pry/commands/gist.rb b/lib/pry/commands/gist.rb index 742451d5..97e88c55 100644 --- a/lib/pry/commands/gist.rb +++ b/lib/pry/commands/gist.rb @@ -6,8 +6,8 @@ class Pry :doc => ['gist -d my_method', 'gist the docs for my_method' ], :input => ['gist -i 1..2', 'gist the input expressions from 1 to 2' ], :kommand => ['gist -k show-method', 'gists pry command show-method' ], - :class => ['gist -c Pry', 'gist the Pry class' ], - :jist => ['jist -c Pry', 'alias for the above' ], + :class => ['gist -c Pry::Method', 'gist the Pry::Method class' ], + :jist => ['jist -c Pry::Method', 'alias for the above' ], :lines => ['gist -m my_method --lines 2..-2', 'limit by range' ], :cliponly => ['gist -m my_method --clip', 'copy (but do not gist)' ], :clipit => ['clipit -m my_method', 'alias for the above' ], |