Class: Avm::Tools::Runner::Application::Info

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/tools/runner/application/info.rb

Constant Summary collapse

APPLICATION_PROPERTIES =
{
  id: 'ID',
  name: 'Name',
  organization: 'Organization',
  scm: 'SCM',
  stereotype: 'Stereotype'
}.freeze

Instance Method Summary collapse

Instance Method Details

#item_hashHash

Returns:

  • (Hash)


27
28
29
30
31
# File 'lib/avm/tools/runner/application/info.rb', line 27

def item_hash
  APPLICATION_PROPERTIES.inject({}) do |a, e|
    a.merge(e.last => application.send(e.first).to_s)
  end
end

#runObject



22
23
24
# File 'lib/avm/tools/runner/application/info.rb', line 22

def run
  run_output
end