Class: Avm::LocalProjects::Instance

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/local_projects/instance.rb

Instance Method Summary collapse

Instance Method Details

#localeObject



20
21
22
# File 'lib/avm/local_projects/instance.rb', line 20

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

#realEacLauncher::Paths::Real

Backward compatibility with [EacLauncher::Paths::Logical].

Returns:



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