Exception: Booby::UnsupportedOptionError

Inherits:
Error
  • Object
show all
Defined in:
lib/booby/errors.rb

Overview

Public: Error raised when processor stumbles upon an unsupported option.

Instance Method Summary collapse

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