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.
985 |
# File 'sig/types.rbs', line 985
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.
975 976 977 |
# File 'sig/types.rbs', line 975 def byte_end @byte_end end |
#byte_start ⇒ Integer (readonly)
Returns the value of attribute byte_start.
974 975 976 |
# File 'sig/types.rbs', line 974 def byte_start @byte_start end |
#chunk_index ⇒ Integer (readonly)
Returns the value of attribute chunk_index.
977 978 979 |
# File 'sig/types.rbs', line 977 def chunk_index @chunk_index end |
#first_page ⇒ Integer (readonly)
Returns the value of attribute first_page.
979 980 981 |
# File 'sig/types.rbs', line 979 def first_page @first_page end |
#heading_context ⇒ HeadingContext (readonly)
Returns the value of attribute heading_context.
981 982 983 |
# File 'sig/types.rbs', line 981 def heading_context @heading_context end |
#heading_path ⇒ Array[String] (readonly)
Returns the value of attribute heading_path.
982 983 984 |
# File 'sig/types.rbs', line 982 def heading_path @heading_path end |
#image_indices ⇒ Array[Integer] (readonly)
Returns the value of attribute image_indices.
983 984 985 |
# File 'sig/types.rbs', line 983 def image_indices @image_indices end |
#last_page ⇒ Integer (readonly)
Returns the value of attribute last_page.
980 981 982 |
# File 'sig/types.rbs', line 980 def last_page @last_page end |
#token_count ⇒ Integer (readonly)
Returns the value of attribute token_count.
976 977 978 |
# File 'sig/types.rbs', line 976 def token_count @token_count end |
#total_chunks ⇒ Integer (readonly)
Returns the value of attribute total_chunks.
978 979 980 |
# File 'sig/types.rbs', line 978 def total_chunks @total_chunks end |