Exception: SpreadsheetArchitect::Exceptions::InvalidRangeStylesOptionError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/spreadsheet_architect/exceptions.rb

Instance Method Summary collapse

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