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' ],