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
19 20 21 |
# File 'lib/avm/app_src.rb', line 19 def locale configuration.if_present(&:locale) || ::I18n.default_locale end |
#real ⇒ Avm::Launcher::Paths::Real
Backward compatibility with [Avm::Launcher::Paths::Logical].
25 26 27 |
# File 'lib/avm/app_src.rb', line 25 def real ::Avm::Launcher::Paths::Real.new(path.to_path) end |
#run_job(job, job_args = []) ⇒ Object
29 30 31 |
# File 'lib/avm/app_src.rb', line 29 def run_job(job, job_args = []) stereotypes.each { |stereotype| run_stereotype_job(stereotype, job, job_args) } end |