Sha256: be115a7371b1750367f267429b213e14322536bace89475c2d21bb6b4ff5aa02
Contents?: true
Size: 729 Bytes
Versions: 3
Compression:
Stored size: 729 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' }.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
3 entries across 3 versions & 2 rubygems