lib/byebug/commands/method.rb in byebug-1.1.0 vs lib/byebug/commands/method.rb in byebug-1.1.1

- old
+ new

@@ -25,15 +25,15 @@ errmsg("Can't make method out of '#{@match[1]}'\n") end end class << self - def help_command - 'method' + def names + %w(method) end - def help(cmd) + def description %{ m[ethod] sig[nature] <obj>\tshow the signature of a method } end end @@ -66,14 +66,14 @@ end end end class << self - def help_command - 'method' + def names + %w(method) end - def help(cmd) + def description %{ m[ethod] i[nstance] <obj>\tshow methods of object m[ethod] iv <obj>\t\tshow instance variables of object m[ethod] <class|module>\t\tshow instance methods of class or module }