Exception: Booby::UnsupportedOptionError
- Defined in:
- lib/booby/errors.rb
Overview
Public: Error raised when processor stumbles upon an unsupported option.
Instance Method Summary collapse
-
#initialize(cmd, line_no) ⇒ UnsupportedOptionError
constructor
A new instance of UnsupportedOptionError.
Constructor Details
#initialize(cmd, line_no) ⇒ UnsupportedOptionError
Returns a new instance of UnsupportedOptionError.
18 19 20 |
# File 'lib/booby/errors.rb', line 18 def initialize(cmd, line_no) super("Unsupported option (line #{line_no}): #{cmd}") end |