Class: Rpub::Commands::Help
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from SubclassTracker
#each, #identifier, #inherited, #matching
Constructor Details
This class inherits a constructor from Rpub::Commands::Base
Instance Method Details
#invoke ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/rpub/commands/help.rb', line 6 def invoke if .empty? Main.new.invoke else Base.matching(.shift).new.help end end |