Sha256: f9e324129a65217956a540c4171fc28e031670e1c27fdfa44a9e8ecd375953b9
Contents?: true
Size: 934 Bytes
Versions: 2
Compression:
Stored size: 934 Bytes
Contents
module InstallGemLocal class Navigation class << self def start options = { "a" => {"value" => 'remove', "display" => 'Remove old version'}, "b" => {"value" => 'build', "display" => 'Build new version'}, "c" => {"value" => 'install', "display" => 'Install new version'}, "d" => {"value" => 'aoa', "display" => 'Remove old version, build and install the new version'}, "/" => {"value" => "exit", "display" => "Exit"} } selection = Downup::Base.new(flash_message: 'Select Action', options: options).prompt ap selection case selection when 'remove' InstallGemLocal::Action.remove_gem when 'build' InstallGemLocal::Action.build_gem when 'install' InstallGemLocal::Action.install_gem when 'aoa' InstallGemLocal::Action.aoa end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
install_gem_local-0.1.3 | lib/install_gem_local/navigation.rb |
install_gem_local-0.1.2 | lib/install_gem_local/navigation.rb |