Sha256: 65d2eec506ac21bab912686c0843863db6105124ee53ffe491810fe4eb2c5150
Contents?: true
Size: 434 Bytes
Versions: 3
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module Mcoin module Command # :nodoc: module HasType def self.included(base) base.option(:single, :type, '-t', '--type TYPE', Mcoin::TYPES, "Available: #{Mcoin::TYPES.join(', ')}") base.option(:single, :currency, '-c', '--currency CURRENCY', Mcoin::CURRENCY, "Available: #{Mcoin::CURRENCY.join(', ')}") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mcoin-0.3.0 | lib/mcoin/command/ext/has_type.rb |
mcoin-0.2.1 | lib/mcoin/command/ext/has_type.rb |
mcoin-0.2.0 | lib/mcoin/command/ext/has_type.rb |