Class: Rpub::Commands::Main
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
5 6 7 8 9 |
# File 'lib/rpub/commands/main.rb', line 5 def invoke << '-h' if .empty? super raise InvalidSubcommand, [0] unless .empty? end |