Class: IRB::Kit::Loader
- Inherits:
-
Object
- Object
- IRB::Kit::Loader
- Defined in:
- lib/irb/kit/loader.rb
Overview
Loads IRB extensions for namespace.
Constant Summary collapse
- ALL =
[:all].freeze
Instance Method Summary collapse
- #call(*monikers) ⇒ Object
-
#initialize(registrar, namespace, all: ALL) ⇒ Loader
constructor
A new instance of Loader.
Constructor Details
Instance Method Details
#call(*monikers) ⇒ Object
15 |
# File 'lib/irb/kit/loader.rb', line 15 def call(*monikers) = monikers == all ? register_all : register_selected(*monikers) |