Class: ImgToScript::MK90ClientAPI::Autoloader

Inherits:
Object
  • Object
show all
Defined in:
lib/img_to_script/mk90_client_api/autoloader.rb

Overview

Gem’s autoloader.

Class Method Summary collapse

Class Method Details

.setupObject



10
11
12
13
14
15
16
17
# File 'lib/img_to_script/mk90_client_api/autoloader.rb', line 10

def setup
  loader = Zeitwerk::Loader.new
  loader.push_dir(Pathname(__dir__).join("../../")) # lib
  loader.inflector.inflect(
    "mk90_client_api" => "MK90ClientAPI"
  )
  loader.setup
end