Class: Avm::AppSrc
Instance Method Summary collapse
- #locale ⇒ Object
-
#real ⇒ Avm::Launcher::Paths::Real
Backward compatibility with [Avm::Launcher::Paths::Logical].
- #run_job(job, job_args = []) ⇒ Object
Instance Method Details
#locale ⇒ Object
20 21 22 |
# File 'lib/avm/app_src.rb', line 20 def locale configuration.if_present(&:locale) || ::I18n.default_locale end |
#real ⇒ Avm::Launcher::Paths::Real
Backward compatibility with [Avm::Launcher::Paths::Logical].
26 27 28 |
# File 'lib/avm/app_src.rb', line 26 def real ::Avm::Launcher::Paths::Real.new(path.to_path) end |
#run_job(job, job_args = []) ⇒ Object
30 31 32 |
# File 'lib/avm/app_src.rb', line 30 def run_job(job, job_args = []) stereotypes_jobs(job, job_args).each(&:run) end |