lib/irb/command/debug.rb in irb-1.14.0 vs lib/irb/command/debug.rb in irb-1.14.1

- old
+ new

@@ -56,16 +56,18 @@ end end end class DebugCommand < Debug - def self.category - "Debugging" - end + class << self + def category + "Debugging" + end - def self.description - command_name = self.name.split("::").last.downcase - "Start the debugger of debug.gem and run its `#{command_name}` command." + def description + command_name = self.name.split("::").last.downcase + "Start the debugger of debug.gem and run its `#{command_name}` command." + end end end end end