Module: InteractiveS3::Commands::InternalCommand
- Defined in:
- lib/interactive_s3/commands/internal_command.rb
Defined Under Namespace
Classes: Chdir, Exit, LocalList, Pwd
Constant Summary collapse
- COMMAND_CLASSES =
{ cd: Chdir, lls: LocalList, pwd: Pwd, exit: Exit, q: Exit, }.freeze
Class Method Summary collapse
Class Method Details
.fetch(name, default = nil) ⇒ Object
3 4 5 |
# File 'lib/interactive_s3/commands/internal_command.rb', line 3 def self.fetch(name, default = nil) COMMAND_CLASSES.fetch(name, default) end |