Module: Hanami::Omakase

Defined in:
lib/hanami/omakase.rb,
lib/hanami/omakase/utils.rb,
lib/hanami/omakase/version.rb,
lib/hanami/omakase/utils/duration.rb

Defined Under Namespace

Modules: Utils

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.loaderObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
13
14
15
16
17
# File 'lib/hanami/omakase.rb', line 10

def self.loader
  @loader ||= Zeitwerk::Loader.new.tap do |loader|
    root = File.expand_path "..", __dir__
    loader.inflector = Zeitwerk::GemInflector.new("#{root}/hanami/omakase.rb")
    loader.tag = "hanami-omakase"
    loader.push_dir root
  end
end