Module: IRB::HelpersContainer
- Defined in:
- lib/irb/workspace.rb
Class Method Summary collapse
Class Method Details
.install_helper_methods ⇒ Object
180 181 182 183 184 185 186 |
# File 'lib/irb/workspace.rb', line 180 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 |