Class: Avm::AppSrc

Inherits:
Object show all
Defined in:
lib/avm/app_src.rb

Instance Method Summary collapse

Instance Method Details

#localeObject



19
20
21
# File 'lib/avm/app_src.rb', line 19

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

#realAvm::Launcher::Paths::Real

Backward compatibility with [Avm::Launcher::Paths::Logical].

Returns:



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