Sha256: 8e50011003e61c47313989ac5df35b9e12cfbae47116a3fd4193c9b03b34e3b8
Contents?: true
Size: 767 Bytes
Versions: 23
Compression:
Stored size: 767 Bytes
Contents
# frozen_string_literal: true require 'avm/tools/core_ext' module Avm module Tools class Runner class Application class Info APPLICATION_PROPERTIES = { id: 'ID', name: 'Name', organization: 'Organization', scm: 'SCM', stereotype: 'Stereotype' }.freeze runner_with :help, :output_item do desc 'Show information about application.' end def run run_output end # @return [Hash] def item_hash APPLICATION_PROPERTIES.inject({}) do |a, e| a.merge(e.last => application.send(e.first).to_s) end end end end end end end
Version data entries
23 entries across 23 versions & 2 rubygems