Module: EventMachine::Wssh::Help
- Defined in:
- lib/em/wssh/help.rb
Constant Summary collapse
- Title =
'Show this help'
Class Method Summary collapse
Class Method Details
.command(mod) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/em/wssh/help.rb', line 30 def self.command mod if mod.respond_to? :help mod.help else puts mod::Title end end |
.go! ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/em/wssh/help.rb', line 8 def self.go! if mod = Exe.command?(ARGV.shift) command mod else top end end |