Exception: FilesHunter::BeginPatternDecoder::TruncatedDataError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- FilesHunter::BeginPatternDecoder::TruncatedDataError
- Defined in:
- lib/fileshunter/BeginPatternDecoder.rb
Instance Attribute Summary collapse
-
#cursor_truncated ⇒ Object
readonly
Returns the value of attribute cursor_truncated.
Instance Method Summary collapse
-
#initialize(message, cursor_truncated) ⇒ TruncatedDataError
constructor
Constructor.
Constructor Details
#initialize(message, cursor_truncated) ⇒ TruncatedDataError
Constructor
- Parameters
-
message (String): The error message
-
cursor_truncated (Fixnum): The exceeding offset
25 26 27 28 |
# File 'lib/fileshunter/BeginPatternDecoder.rb', line 25 def initialize(, cursor_truncated) super() @cursor_truncated = cursor_truncated end |
Instance Attribute Details
#cursor_truncated ⇒ Object (readonly)
Returns the value of attribute cursor_truncated.
18 19 20 |
# File 'lib/fileshunter/BeginPatternDecoder.rb', line 18 def cursor_truncated @cursor_truncated end |