module IRB::HelperMethod
Attributes
Public Class Methods
Source
# File lib/irb/helper_method.rb, line 18 def all_helper_methods_info @helper_methods.map do |name, helper_class| { display_name: name, description: helper_class.description } end end
Source
# File lib/irb/helper_method.rb, line 10 def register(name, helper_class) @helper_methods[name] = helper_class if defined?(HelpersContainer) HelpersContainer.install_helper_methods end end