Class: Avm::LocalProjects::Instance
- Defined in:
- lib/avm/local_projects/instance.rb
Instance Method Summary collapse
- #locale ⇒ Object
-
#real ⇒ EacLauncher::Paths::Real
Backward compatibility with [EacLauncher::Paths::Logical].
- #run_job(job, job_args = []) ⇒ Object
Instance Method Details
#locale ⇒ Object
20 21 22 |
# File 'lib/avm/local_projects/instance.rb', line 20 def locale configuration.if_present(&:locale) || ::I18n.default_locale end |
#real ⇒ EacLauncher::Paths::Real
Backward compatibility with [EacLauncher::Paths::Logical].
26 27 28 |
# File 'lib/avm/local_projects/instance.rb', line 26 def real ::EacLauncher::Paths::Real.new(path.to_path) end |
#run_job(job, job_args = []) ⇒ Object
30 31 32 |
# File 'lib/avm/local_projects/instance.rb', line 30 def run_job(job, job_args = []) stereotypes.each { |stereotype| run_stereotype_job(stereotype, job, job_args) } end |