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)


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

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

Instance Attribute Details

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


1977
1978
1979
# File 'sig/types.rbs', line 1977

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


1976
1977
1978
# File 'sig/types.rbs', line 1976

def start
  @start
end

Instance Method Details

#page_countInteger

Returns:

  • (Integer)


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

def page_count: () -> Integer