Module: IRB::Kit
- Defined in:
- lib/irb/kit.rb,
lib/irb/kit/prompter.rb,
lib/irb/kit/register.rb,
lib/irb/kit/helpers/clip.rb,
lib/irb/kit/helpers/paste.rb,
lib/irb/kit/helpers/search.rb,
lib/irb/kit/handlers/editor.rb,
lib/irb/kit/handlers/paster.rb,
lib/irb/kit/handlers/clipper.rb,
lib/irb/kit/handlers/abstract.rb,
lib/irb/kit/handlers/searcher.rb,
lib/irb/kit/handlers/descender.rb,
lib/irb/kit/helpers/edit_source.rb,
lib/irb/kit/commands/descendants.rb,
lib/irb/kit/handlers/method_editor.rb,
lib/irb/kit/handlers/constant_editor.rb
Overview
Main namespace.
Defined Under Namespace
Modules: Commands, Handlers, Helpers Classes: Prompter, Register
Class Method Summary collapse
- .loader(registry = Zeitwerk::Registry) ⇒ Object
- .prompt ⇒ Object
- .register_commands ⇒ Object
- .register_helpers ⇒ Object
Class Method Details
.loader(registry = Zeitwerk::Registry) ⇒ Object
16 17 18 |
# File 'lib/irb/kit.rb', line 16 def self.loader registry = Zeitwerk::Registry @loader ||= registry.loaders.find { |loader| loader.tag == "irb-kit" } end |
.prompt ⇒ Object
24 |
# File 'lib/irb/kit.rb', line 24 def self.prompt = @prompt ||= Prompter.new.call |