Exception: Rpub::InvalidSubcommand
- Inherits:
-
StandardError
- Object
- StandardError
- Rpub::InvalidSubcommand
- Defined in:
- lib/rpub.rb
Instance Method Summary collapse
-
#initialize(subcommand) ⇒ InvalidSubcommand
constructor
A new instance of InvalidSubcommand.
Constructor Details
#initialize(subcommand) ⇒ InvalidSubcommand
Returns a new instance of InvalidSubcommand.
46 47 48 |
# File 'lib/rpub.rb', line 46 def initialize(subcommand) super "Unknown subcommand: #{subcommand}" end |