Sha256: 16b67ce541cded79258ce474a0cd8fc296603a9c0aa609ca68cf4e8f9505fe4f

Contents?: true

Size: 336 Bytes

Versions: 9

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

module Mcoin
  module Command
    # :nodoc:
    module HasMarket
      def self.included(base)
        base.option(:multiple, :market, '-m', '--market MARKET',
                    Mcoin::Market.available,
                    "Available: #{Mcoin::Market.available.join(', ')}")
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mcoin-0.6.1 lib/mcoin/command/ext/has_market.rb
mcoin-0.6.0 lib/mcoin/command/ext/has_market.rb
mcoin-0.5.2 lib/mcoin/command/ext/has_market.rb
mcoin-0.5.1 lib/mcoin/command/ext/has_market.rb
mcoin-0.5.0 lib/mcoin/command/ext/has_market.rb
mcoin-0.4.0 lib/mcoin/command/ext/has_market.rb
mcoin-0.3.0 lib/mcoin/command/ext/has_market.rb
mcoin-0.2.1 lib/mcoin/command/ext/has_market.rb
mcoin-0.2.0 lib/mcoin/command/ext/has_market.rb