Class: Tapioca::Loaders::Dsl

Inherits:
Loader
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/tapioca/loaders/dsl.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from GemHelper

#gem_in_app_dir?, #gem_in_bundle_path?, #gem_in_ruby_path?, #to_realpath

Methods included from CliHelper

#netrc_file, #rbi_formatter, #say_error

Class Method Details

.load_application(tapioca_path:, eager_load: true, app_root: ".") ⇒ Object



13
14
15
16
# File 'lib/tapioca/loaders/dsl.rb', line 13

def load_application(tapioca_path:, eager_load: true, app_root: ".")
  loader = new(tapioca_path: tapioca_path, eager_load: eager_load, app_root: app_root)
  loader.load
end

Instance Method Details

#loadObject



20
21
22
23
24
# File 'lib/tapioca/loaders/dsl.rb', line 20

def load
  load_dsl_extensions
  load_application
  load_dsl_compilers
end