Sha256: 4f15ba3506d6db4994c2e45a15be83c6b4563bd602339ed4be93cf5eeb609c83
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
module BitsDealer module Help def help option = prompt.select("Choose what you want to do?") do |menu| menu.enum '.' menu.choice 'Nevermind', 'nothing' menu.choice 'Cancel order', 'cancel_order' menu.choice 'Buy order', 'buy_order' menu.choice 'Sell order', 'sell_order' menu.choice 'Exchange order', 'exchange_order' end process(option) nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bits_dealer-0.1.1 | lib/bits_dealer/commands/help.rb |