From de920882298ee55e675a36b75eb3ab5ec7e846ff Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sat, 21 Dec 2013 00:01:04 +0900 Subject: [PATCH] Add 'public' to description of :M option in ls command. --- lib/pry/commands/ls.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/commands/ls.rb b/lib/pry/commands/ls.rb index bfcdb30d..e8115970 100644 --- a/lib/pry/commands/ls.rb +++ b/lib/pry/commands/ls.rb @@ -29,7 +29,7 @@ class Pry def options(opt) opt.on :m, :methods, "Show public methods defined on the Object" - opt.on :M, "instance-methods", "Show methods defined in a Module or Class" + opt.on :M, "instance-methods", "Show public methods defined in a Module or Class" opt.on :p, :ppp, "Show public, protected (in yellow) and private (in green) methods" opt.on :q, :quiet, "Show only methods defined on object.singleton_class and object.class" opt.on :v, :verbose, "Show methods and constants on all super-classes (ignores Pry.config.ls.ceiling)"