Class: MiniCSS::AST::SyntaxError
- Inherits:
-
Object
- Object
- MiniCSS::AST::SyntaxError
- Defined in:
- lib/minicss/ast/syntax_error.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ SyntaxError
constructor
A new instance of SyntaxError.
Constructor Details
#initialize(reason) ⇒ SyntaxError
Returns a new instance of SyntaxError.
8 9 10 |
# File 'lib/minicss/ast/syntax_error.rb', line 8 def initialize(reason) @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
6 7 8 |
# File 'lib/minicss/ast/syntax_error.rb', line 6 def reason @reason end |