Class: Avm::Tools::AppSrc

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/tools/app_src.rb

Instance Method Summary collapse

Instance Method Details

#localeObject



22
23
24
# File 'lib/avm/tools/app_src.rb', line 22

def locale
  configuration.if_present(&:locale) || ::I18n.default_locale
end

#realAvm::Launcher::Paths::Real

Backward compatibility with [Avm::Launcher::Paths::Logical].

Returns:



28
29
30
# File 'lib/avm/tools/app_src.rb', line 28

def real
  ::Avm::Launcher::Paths::Real.new(path.to_path)
end

#run_job(job, job_args = []) ⇒ Object



32
33
34
# File 'lib/avm/tools/app_src.rb', line 32

def run_job(job, job_args = [])
  stereotypes_jobs(job, job_args).each(&:run)
end