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
1957 |
# File 'sig/types.rbs', line 1957 def initialize: (start: Integer, end: Integer) -> void |
Instance Attribute Details
#end ⇒ Integer (readonly)
Returns the value of attribute end.
1955 1956 1957 |
# File 'sig/types.rbs', line 1955 def end @end end |
#start ⇒ Integer (readonly)
Returns the value of attribute start.
1954 1955 1956 |
# File 'sig/types.rbs', line 1954 def start @start end |
Instance Method Details
#page_count ⇒ Integer
1958 |
# File 'sig/types.rbs', line 1958 def page_count: () -> Integer |