Class: Xberg::PageRange

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageRange

Returns a new instance of PageRange.

Parameters:

  • start: (Integer)
  • end: (Integer)


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

def initialize: (start: Integer, end: Integer) -> void

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


1875
1876
1877
# File 'sig/types.rbs', line 1875

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


1874
1875
1876
# File 'sig/types.rbs', line 1874

def start
  @start
end

Instance Method Details

#page_countInteger

Returns:

  • (Integer)


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

def page_count: () -> Integer