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)


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

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

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


2050
2051
2052
# File 'sig/types.rbs', line 2050

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


2049
2050
2051
# File 'sig/types.rbs', line 2049

def start
  @start
end

Instance Method Details

#page_countInteger

Returns:

  • (Integer)


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

def page_count: () -> Integer