Exception: Bijou::ParseError
- Inherits:
-
Exception
- Object
- Exception
- Bijou::ParseError
- Defined in:
- lib/bijou/exception.rb
Instance Attribute Summary collapse
-
#diagnostics ⇒ Object
readonly
Returns the value of attribute diagnostics.
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename, diagnostics) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(filename, diagnostics) ⇒ ParseError
Returns a new instance of ParseError.
22 23 24 25 |
# File 'lib/bijou/exception.rb', line 22 def initialize(filename, diagnostics) @filename = filename @diagnostics = diagnostics end |
Instance Attribute Details
#diagnostics ⇒ Object (readonly)
Returns the value of attribute diagnostics.
20 21 22 |
# File 'lib/bijou/exception.rb', line 20 def diagnostics @diagnostics end |
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
20 21 22 |
# File 'lib/bijou/exception.rb', line 20 def filename @filename end |