Class: Xberg::PageClassification

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageClassification

Returns a new instance of PageClassification.

Parameters:



1881
# File 'sig/types.rbs', line 1881

def initialize: (page_number: Integer, labels: Array[ClassificationLabel]) -> void

Instance Attribute Details

#labelsArray[ClassificationLabel] (readonly)

Returns the value of attribute labels.

Returns:



1879
1880
1881
# File 'sig/types.rbs', line 1879

def labels
  @labels
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


1878
1879
1880
# File 'sig/types.rbs', line 1878

def page_number
  @page_number
end