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