Class: Xberg::PageStructure
- Inherits:
-
Object
- Object
- Xberg::PageStructure
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#boundaries ⇒ Array[PageBoundary]
readonly
Returns the value of attribute boundaries.
-
#pages ⇒ Array[PageInfo]
readonly
Returns the value of attribute pages.
-
#total_count ⇒ Integer
readonly
Returns the value of attribute total_count.
-
#unit_type ⇒ PageUnitType
readonly
Returns the value of attribute unit_type.
Instance Method Summary collapse
-
#initialize ⇒ PageStructure
constructor
A new instance of PageStructure.
Constructor Details
#initialize ⇒ PageStructure
Returns a new instance of PageStructure.
1547 |
# File 'sig/types.rbs', line 1547
def initialize: (total_count: Integer, unit_type: PageUnitType, ?boundaries: Array[PageBoundary], ?pages: Array[PageInfo]) -> void
|
Instance Attribute Details
#boundaries ⇒ Array[PageBoundary] (readonly)
Returns the value of attribute boundaries.
1544 1545 1546 |
# File 'sig/types.rbs', line 1544 def boundaries @boundaries end |
#pages ⇒ Array[PageInfo] (readonly)
Returns the value of attribute pages.
1545 1546 1547 |
# File 'sig/types.rbs', line 1545 def pages @pages end |
#total_count ⇒ Integer (readonly)
Returns the value of attribute total_count.
1542 1543 1544 |
# File 'sig/types.rbs', line 1542 def total_count @total_count end |
#unit_type ⇒ PageUnitType (readonly)
Returns the value of attribute unit_type.
1543 1544 1545 |
# File 'sig/types.rbs', line 1543 def unit_type @unit_type end |