Class: SMPTool::Autoloader
- Inherits:
-
Object
- Object
- SMPTool::Autoloader
- Defined in:
- lib/smp_tool/autoloader.rb
Overview
Gem’s autoloader.
Class Method Summary collapse
Class Method Details
.setup ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/smp_tool/autoloader.rb', line 11 def setup loader = Zeitwerk::Loader.new loader.push_dir(Pathname(__dir__).join("../")) # lib loader.inflector.inflect( "smp_tool" => "SMPTool", "volume_io" => "VolumeIO", "converter_from_volume_io" => "ConverterFromVolumeIO", "converter_to_volume_io" => "ConverterToVolumeIO" ) loader.setup end |