Class: TerraspaceCiBitbucket::Autoloader

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

Defined Under Namespace

Classes: Inflector

Class Method Summary collapse

Class Method Details

.setupObject



13
14
15
16
17
18
19
# File 'lib/terraspace_ci_bitbucket/autoloader.rb', line 13

def setup
  loader = Zeitwerk::Loader.new
  loader.inflector = Inflector.new
  loader.push_dir(File.dirname(__dir__)) # lib
  loader.log! if ENV["TERRASPACE_CI_BITBUCKET_AUTOLOAD_LOG"]
  loader.setup
end