Exception: Elparser::ParserError
- Inherits:
-
StandardError
- Object
- StandardError
- Elparser::ParserError
- Defined in:
- lib/elparser.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#pos ⇒ Object
readonly
Returns the value of attribute pos.
-
#sample ⇒ Object
readonly
Returns the value of attribute sample.
Instance Method Summary collapse
-
#initialize(message, pos, sample) ⇒ ParserError
constructor
A new instance of ParserError.
Constructor Details
#initialize(message, pos, sample) ⇒ ParserError
Returns a new instance of ParserError.
229 230 231 232 233 |
# File 'lib/elparser.rb', line 229 def initialize(, pos, sample) @message = @pos = pos @sample = sample end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
228 229 230 |
# File 'lib/elparser.rb', line 228 def @message end |
#pos ⇒ Object (readonly)
Returns the value of attribute pos.
228 229 230 |
# File 'lib/elparser.rb', line 228 def pos @pos end |
#sample ⇒ Object (readonly)
Returns the value of attribute sample.
228 229 230 |
# File 'lib/elparser.rb', line 228 def sample @sample end |