Class: IRB::ExtendCommand::Help

Inherits:
ShowDoc show all
Defined in:
lib/irb/cmd/help.rb

Constant Summary collapse

DEPRECATION_MESSAGE =
<<~MSG
  [Deprecation] The `help` command will be repurposed to display command help in the future.
  For RI document lookup, please use the `show_doc` command instead.
  For command help, please use `show_cmds` for now.
MSG

Instance Attribute Summary

Attributes inherited from Nop

#irb_context

Instance Method Summary collapse

Methods inherited from ShowDoc

transform_args

Methods inherited from Nop

category, description, execute, #initialize

Constructor Details

This class inherits a constructor from IRB::ExtendCommand::Nop

Instance Method Details

#execute(*names) ⇒ Object



17
18
19
20
# File 'lib/irb/cmd/help.rb', line 17

def execute(*names)
  warn DEPRECATION_MESSAGE
  super
end