Class: Xberg::ChunkMetadata
- Inherits:
-
Object
- Object
- Xberg::ChunkMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#byte_end ⇒ Integer
readonly
Returns the value of attribute byte_end.
-
#byte_start ⇒ Integer
readonly
Returns the value of attribute byte_start.
-
#chunk_index ⇒ Integer
readonly
Returns the value of attribute chunk_index.
-
#first_page ⇒ Integer
readonly
Returns the value of attribute first_page.
-
#heading_context ⇒ HeadingContext
readonly
Returns the value of attribute heading_context.
-
#heading_path ⇒ Array[String]
readonly
Returns the value of attribute heading_path.
-
#image_indices ⇒ Array[Integer]
readonly
Returns the value of attribute image_indices.
-
#last_page ⇒ Integer
readonly
Returns the value of attribute last_page.
-
#token_count ⇒ Integer
readonly
Returns the value of attribute token_count.
-
#total_chunks ⇒ Integer
readonly
Returns the value of attribute total_chunks.
Instance Method Summary collapse
-
#initialize ⇒ ChunkMetadata
constructor
A new instance of ChunkMetadata.
Constructor Details
#initialize ⇒ ChunkMetadata
Returns a new instance of ChunkMetadata.
1024 |
# File 'sig/types.rbs', line 1024
def initialize: (byte_start: Integer, byte_end: Integer, ?token_count: Integer, chunk_index: Integer, total_chunks: Integer, ?first_page: Integer, ?last_page: Integer, ?heading_context: HeadingContext, heading_path: Array[String], image_indices: Array[Integer]) -> void
|
Instance Attribute Details
#byte_end ⇒ Integer (readonly)
Returns the value of attribute byte_end.
1014 1015 1016 |
# File 'sig/types.rbs', line 1014 def byte_end @byte_end end |
#byte_start ⇒ Integer (readonly)
Returns the value of attribute byte_start.
1013 1014 1015 |
# File 'sig/types.rbs', line 1013 def byte_start @byte_start end |
#chunk_index ⇒ Integer (readonly)
Returns the value of attribute chunk_index.
1016 1017 1018 |
# File 'sig/types.rbs', line 1016 def chunk_index @chunk_index end |
#first_page ⇒ Integer (readonly)
Returns the value of attribute first_page.
1018 1019 1020 |
# File 'sig/types.rbs', line 1018 def first_page @first_page end |
#heading_context ⇒ HeadingContext (readonly)
Returns the value of attribute heading_context.
1020 1021 1022 |
# File 'sig/types.rbs', line 1020 def heading_context @heading_context end |
#heading_path ⇒ Array[String] (readonly)
Returns the value of attribute heading_path.
1021 1022 1023 |
# File 'sig/types.rbs', line 1021 def heading_path @heading_path end |
#image_indices ⇒ Array[Integer] (readonly)
Returns the value of attribute image_indices.
1022 1023 1024 |
# File 'sig/types.rbs', line 1022 def image_indices @image_indices end |
#last_page ⇒ Integer (readonly)
Returns the value of attribute last_page.
1019 1020 1021 |
# File 'sig/types.rbs', line 1019 def last_page @last_page end |
#token_count ⇒ Integer (readonly)
Returns the value of attribute token_count.
1015 1016 1017 |
# File 'sig/types.rbs', line 1015 def token_count @token_count end |
#total_chunks ⇒ Integer (readonly)
Returns the value of attribute total_chunks.
1017 1018 1019 |
# File 'sig/types.rbs', line 1017 def total_chunks @total_chunks end |