Class: TreeHaver::KaitaiByteSpan
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::KaitaiByteSpan
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#end_byte ⇒ Object
Returns the value of attribute end_byte.
-
#start_byte ⇒ Object
Returns the value of attribute start_byte.
Instance Method Summary collapse
Instance Attribute Details
#end_byte ⇒ Object
Returns the value of attribute end_byte
417 418 419 |
# File 'lib/tree_haver/contracts.rb', line 417 def end_byte @end_byte end |
#start_byte ⇒ Object
Returns the value of attribute start_byte
417 418 419 |
# File 'lib/tree_haver/contracts.rb', line 417 def start_byte @start_byte end |
Instance Method Details
#to_h ⇒ Object
418 419 420 421 422 423 |
# File 'lib/tree_haver/contracts.rb', line 418 def to_h { start_byte: start_byte, end_byte: end_byte } end |