Sha256: f1d9fc26ddb7f729203dbdaea808dae4a7fe5e2d3df3647cd9a7f1c3953f4770

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

require "zeitwerk"
require_relative "config"

loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect(
  "sendle_api" => "SendleAPI"
)
loader.push_dir("./lib")
loader.collapse("./lib/sendle_api/resources")
loader.ignore("#{__dir__}/config.rb")
loader.enable_reloading
# loader.log!
loader.setup

$__sendle_api_loader__ = loader

def reload!
  $__sendle_api_loader__.reload
  set_config
  true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sendle_api-0.1.4 lib/dev/zeitwerk_loader.rb
sendle_api-0.1.0 lib/dev/zeitwerk_loader.rb