Module: Runcom

Defined in:
lib/runcom.rb,
lib/runcom/data.rb,
lib/runcom/cache.rb,
lib/runcom/state.rb,
lib/runcom/config.rb,
lib/runcom/context.rb,
lib/runcom/paths/home.rb,
lib/runcom/paths/common.rb

Overview

Main namespace.

Defined Under Namespace

Modules: Paths Classes: Cache, Config, Context, Data, State

Class Method Summary collapse

Class Method Details

.loader(registry = Zeitwerk::Registry) ⇒ Object



14
15
16
# File 'lib/runcom.rb', line 14

def self.loader registry = Zeitwerk::Registry
  @loader ||= registry.loaders.each.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
end