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:



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

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

Instance Attribute Details

#labelsArray[ClassificationLabel] (readonly)

Returns the value of attribute labels.

Returns:



784
785
786
# File 'sig/types.rbs', line 784

def labels
  @labels
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


783
784
785
# File 'sig/types.rbs', line 783

def page_number
  @page_number
end