Exception: IRuby::InvalidSubcommandError

Inherits:
Error
  • Object
show all
Defined in:
lib/iruby/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, argv) ⇒ InvalidSubcommandError

Returns a new instance of InvalidSubcommandError.



6
7
8
9
10
# File 'lib/iruby/error.rb', line 6

def initialize(name, argv)
  @name = name
  @argv = argv
  super("Invalid subcommand name: #{@name}")
end