Class: Fop::Parser::Error
- Inherits:
-
Struct
- Object
- Struct
- Fop::Parser::Error
- Defined in:
- lib/fop/parser.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#token ⇒ Object
Returns the value of attribute token.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
18 19 20 |
# File 'lib/fop/parser.rb', line 18 def @message end |
#token ⇒ Object
Returns the value of attribute token
18 19 20 |
# File 'lib/fop/parser.rb', line 18 def token @token end |
#type ⇒ Object
Returns the value of attribute type
18 19 20 |
# File 'lib/fop/parser.rb', line 18 def type @type end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'lib/fop/parser.rb', line 19 def to_s "#{type.to_s.capitalize} error: #{} at column #{token.pos}" end |