module IRB::HelpersContainer - irb: Ruby Standard Library Documentation

# module IRB::HelpersContainer

### Public Class Methods

install_helper_methods() click to toggle source

    # File irb/workspace.rb, line 160
    def install_helper_methods
      HelperMethod.helper_methods.each do |name, helper_method_class|
        define_method name do |*args, **opts, &block|
          helper_method_class.instance.execute(*args, **opts, &block)
        end unless method_defined?(name)
      end
    end