Class: Xberg::PageRange
- Inherits:
-
Object
- Object
- Xberg::PageRange
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#end ⇒ Integer
readonly
Returns the value of attribute end.
-
#start ⇒ Integer
readonly
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize ⇒ PageRange
constructor
A new instance of PageRange.
- #page_count ⇒ Integer
Constructor Details
#initialize ⇒ PageRange
Returns a new instance of PageRange.
1877 |
# File 'sig/types.rbs', line 1877
def initialize: (start: Integer, end: Integer) -> void
|
Instance Attribute Details
#end ⇒ Integer (readonly)
Returns the value of attribute end.
1875 1876 1877 |
# File 'sig/types.rbs', line 1875 def end @end end |
#start ⇒ Integer (readonly)
Returns the value of attribute start.
1874 1875 1876 |
# File 'sig/types.rbs', line 1874 def start @start end |
Instance Method Details
#page_count ⇒ Integer
1878 |
# File 'sig/types.rbs', line 1878
def page_count: () -> Integer
|