Class: Avm::AppSrc

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

Instance Method Summary collapse

Instance Method Details

#localeObject



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

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

#realAvm::Launcher::Paths::Real

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

Returns:



26
27
28
# File 'lib/avm/app_src.rb', line 26

def real
  ::Avm::Launcher::Paths::Real.new(path.to_path)
end

#run_job(job, job_args = []) ⇒ Object



30
31
32
# File 'lib/avm/app_src.rb', line 30

def run_job(job, job_args = [])
  stereotypes_jobs(job, job_args).each(&:run)
end