Class: Xberg::PageStructure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageStructure

Returns a new instance of PageStructure.

Parameters:

  • total_count: (Integer)
  • unit_type: (enum_PageUnitType)
  • boundaries: (Array[PageBoundary])
  • pages: (Array[PageInfo])


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

def initialize: (total_count: Integer, unit_type: enum_PageUnitType, ?boundaries: Array[PageBoundary], ?pages: Array[PageInfo]) -> void

Instance Attribute Details

#boundariesArray[PageBoundary]? (readonly)

Returns the value of attribute boundaries.

Returns:



1982
1983
1984
# File 'sig/types.rbs', line 1982

def boundaries
  @boundaries
end

#pagesArray[PageInfo]? (readonly)

Returns the value of attribute pages.

Returns:



1983
1984
1985
# File 'sig/types.rbs', line 1983

def pages
  @pages
end

#total_countInteger (readonly)

Returns the value of attribute total_count.

Returns:

  • (Integer)


1980
1981
1982
# File 'sig/types.rbs', line 1980

def total_count
  @total_count
end

#unit_typeenum_PageUnitType (readonly)

Returns the value of attribute unit_type.

Returns:

  • (enum_PageUnitType)


1981
1982
1983
# File 'sig/types.rbs', line 1981

def unit_type
  @unit_type
end