30 31 32 33 34 35 36 37 38
# File 'lib/mcoin/command/ticker.rb', line 30 def markets @markets ||= option.market.map do |name| market = Market.pick(name).new pairs.map do |pair| market.watch(*pair) end market end.flatten end