lib/irb/command/base.rb in irb-1.13.0 vs lib/irb/command/base.rb in irb-1.13.1
- old
+ new
@@ -16,15 +16,15 @@
class Base
class << self
def category(category = nil)
@category = category if category
- @category
+ @category || "No category"
end
def description(description = nil)
@description = description if description
- @description
+ @description || "No description provided."
end
def help_message(help_message = nil)
@help_message = help_message if help_message
@help_message