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.



46
47
48
# File 'lib/rpub.rb', line 46

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