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