diff options
Diffstat (limited to 'lib/irb/command/debug.rb')
-rw-r--r-- | lib/irb/command/debug.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/irb/command/debug.rb b/lib/irb/command/debug.rb index 8a091a49ed..3ebb57fe54 100644 --- a/lib/irb/command/debug.rb +++ b/lib/irb/command/debug.rb @@ -58,13 +58,15 @@ module IRB 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 |