Exception: Leftovers::PrecompileError
- Defined in:
- lib/leftovers/precompile_error.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(message, line: nil, column: nil, display_class: nil) ⇒ PrecompileError
constructor
A new instance of PrecompileError.
- #warn(path:) ⇒ Object
Constructor Details
#initialize(message, line: nil, column: nil, display_class: nil) ⇒ PrecompileError
Returns a new instance of PrecompileError.
7 8 9 10 11 12 |
# File 'lib/leftovers/precompile_error.rb', line 7 def initialize(, line: nil, column: nil, display_class: nil) @line = line @column = column @display_class = display_class super() end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
5 6 7 |
# File 'lib/leftovers/precompile_error.rb', line 5 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
5 6 7 |
# File 'lib/leftovers/precompile_error.rb', line 5 def line @line end |