123456789_123456789_123456789_123456789_123456789_

Module: IRB::HelpersContainer

Relationships & Source Files
Defined in: lib/irb/workspace.rb

Class Method Summary

Class Method Details

.install_helper_methods

[ GitHub ]

  
# File 'lib/irb/workspace.rb', line 179

def self.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