Class: Avm::Tools::AppSrc
- Inherits:
-
Object
- Object
- Avm::Tools::AppSrc
- Defined in:
- lib/avm/tools/app_src.rb
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
22 23 24 |
# File 'lib/avm/tools/app_src.rb', line 22 def locale configuration.if_present(&:locale) || ::I18n.default_locale end |
#real ⇒ Avm::Launcher::Paths::Real
Backward compatibility with [Avm::Launcher::Paths::Logical].
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 |