Module: Vvm::CLI::Command
- Defined in:
- lib/vvm/cli/command.rb,
lib/vvm/cli/command/base.rb,
lib/vvm/cli/command/exit.rb,
lib/vvm/cli/command/dispense.rb,
lib/vvm/cli/command/insert_coin.rb,
lib/vvm/cli/command/pick_product.rb,
lib/vvm/cli/command/show_main_menu.rb,
lib/vvm/cli/command/confirm_dispense.rb,
lib/vvm/cli/command/confirm_product_pick.rb
Defined Under Namespace
Classes: Base, ConfirmDispsense, ConfirmProductPick, Dispsense, Exit, ShowCoins, ShowMainMenu, ShowProducts
Class Method Summary collapse
Class Method Details
.call(env, name, options) ⇒ Object
7 8 9 10 11 |
# File 'lib/vvm/cli/command.rb', line 7 def call(env, name, ) $stdout.clear_screen class_for(name).new(env).call(**) end |