Class: TreeHaver::BinaryPayloadRegion
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::BinaryPayloadRegion
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#byte_range ⇒ Object
Returns the value of attribute byte_range.
-
#expected_hex ⇒ Object
Returns the value of attribute expected_hex.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#schema_path ⇒ Object
Returns the value of attribute schema_path.
Instance Method Summary collapse
Instance Attribute Details
#byte_range ⇒ Object
Returns the value of attribute byte_range
213 214 215 |
# File 'lib/tree_haver/contracts.rb', line 213 def byte_range @byte_range end |
#expected_hex ⇒ Object
Returns the value of attribute expected_hex
213 214 215 |
# File 'lib/tree_haver/contracts.rb', line 213 def expected_hex @expected_hex end |
#kind ⇒ Object
Returns the value of attribute kind
213 214 215 |
# File 'lib/tree_haver/contracts.rb', line 213 def kind @kind end |
#schema_path ⇒ Object
Returns the value of attribute schema_path
213 214 215 |
# File 'lib/tree_haver/contracts.rb', line 213 def schema_path @schema_path end |
Instance Method Details
#to_h ⇒ Object
214 215 216 217 218 219 220 221 |
# File 'lib/tree_haver/contracts.rb', line 214 def to_h { kind: kind, schema_path: schema_path, byte_range: byte_range.to_h, expected_hex: expected_hex } end |