Class: Xberg::PageClassification
- Inherits:
-
Object
- Object
- Xberg::PageClassification
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#labels ⇒ Array[ClassificationLabel]
readonly
Returns the value of attribute labels.
-
#page_number ⇒ Integer
readonly
Returns the value of attribute page_number.
Instance Method Summary collapse
-
#initialize ⇒ PageClassification
constructor
A new instance of PageClassification.
Constructor Details
#initialize ⇒ PageClassification
Returns a new instance of PageClassification.
751 |
# File 'sig/types.rbs', line 751
def initialize: (page_number: Integer, labels: Array[ClassificationLabel]) -> void
|
Instance Attribute Details
#labels ⇒ Array[ClassificationLabel] (readonly)
Returns the value of attribute labels.
749 750 751 |
# File 'sig/types.rbs', line 749 def labels @labels end |
#page_number ⇒ Integer (readonly)
Returns the value of attribute page_number.
748 749 750 |
# File 'sig/types.rbs', line 748 def page_number @page_number end |