Exception: Emf::ParseError
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
-
#record_code ⇒ Object
readonly
Returns the value of attribute record_code.
Instance Method Summary collapse
-
#initialize(offset:, record_code:, message:) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(offset:, record_code:, message:) ⇒ ParseError
Returns a new instance of ParseError.
11 12 13 14 15 |
# File 'lib/emf/error.rb', line 11 def initialize(offset:, record_code:, message:) @offset = offset @record_code = record_code super() end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
9 10 11 |
# File 'lib/emf/error.rb', line 9 def offset @offset end |
#record_code ⇒ Object (readonly)
Returns the value of attribute record_code.
9 10 11 |
# File 'lib/emf/error.rb', line 9 def record_code @record_code end |