Exception: Rpub::InvalidSubcommand

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rpub.rb

Instance Method Summary collapse

Constructor Details

#initialize(subcommand) ⇒ InvalidSubcommand

Returns a new instance of InvalidSubcommand.



42
43
44
# File 'lib/rpub.rb', line 42

def initialize(subcommand)
  super "Unknown subcommand: #{subcommand}"
end