Exception: SpreadsheetArchitect::Exceptions::InvalidRangeStylesOptionError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- SpreadsheetArchitect::Exceptions::InvalidRangeStylesOptionError
- Defined in:
- lib/spreadsheet_architect/exceptions.rb
Instance Method Summary collapse
-
#initialize(type, opt) ⇒ InvalidRangeStylesOptionError
constructor
A new instance of InvalidRangeStylesOptionError.
Constructor Details
#initialize(type, opt) ⇒ InvalidRangeStylesOptionError
Returns a new instance of InvalidRangeStylesOptionError.
38 39 40 |
# File 'lib/spreadsheet_architect/exceptions.rb', line 38 def initialize(type, opt) super("Invalid or missing :#{type} option for `#{opt}`. :#{type} can be an integer, range, or :all") end |