Exception: LiquidXlsx::RenderError
- Defined in:
- lib/liquid_xlsx/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cell ⇒ Object
readonly
Returns the value of attribute cell.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
-
#sheet ⇒ Object
readonly
Returns the value of attribute sheet.
-
#template ⇒ Object
readonly
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(message, sheet: nil, row: nil, cell: nil, template: nil) ⇒ RenderError
constructor
A new instance of RenderError.
Constructor Details
#initialize(message, sheet: nil, row: nil, cell: nil, template: nil) ⇒ RenderError
Returns a new instance of RenderError.
32 33 34 35 36 37 38 |
# File 'lib/liquid_xlsx/errors.rb', line 32 def initialize(, sheet: nil, row: nil, cell: nil, template: nil) @sheet = sheet @row = row @cell = cell @template = template super(()) end |
Instance Attribute Details
#cell ⇒ Object (readonly)
Returns the value of attribute cell.
30 31 32 |
# File 'lib/liquid_xlsx/errors.rb', line 30 def cell @cell end |
#row ⇒ Object (readonly)
Returns the value of attribute row.
30 31 32 |
# File 'lib/liquid_xlsx/errors.rb', line 30 def row @row end |
#sheet ⇒ Object (readonly)
Returns the value of attribute sheet.
30 31 32 |
# File 'lib/liquid_xlsx/errors.rb', line 30 def sheet @sheet end |
#template ⇒ Object (readonly)
Returns the value of attribute template.
30 31 32 |
# File 'lib/liquid_xlsx/errors.rb', line 30 def template @template end |