Exception: Executable::NoOptionError

Inherits:
NoMethodError
  • Object
show all
Defined in:
lib/executable/errors.rb

Overview

ArgumentError ?

Instance Method Summary collapse

Constructor Details

#initialize(name, *arg) ⇒ NoOptionError

Returns a new instance of NoOptionError.



4
5
6
# File 'lib/executable/errors.rb', line 4

def initialize(name, *arg)
  super("unknown option -- #{name}", name, *args)
end