class PyRange
- PyRange
- Reference
- Object
Included Modules
- Iterator(Int32)
Defined in:
py2cr/range.crConstructors
Class Method Summary
-
.range(start : Int32, stop : Int32, step : Int32 = 1)
Two/three argument form
-
.range(stop : Int32)
One-argument form (stop-value)
Instance Method Summary
-
#next
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements.
Instance methods inherited from module Enumerable(Int32)
py_all?
py_all?,
py_any?
py_any?,
py_each(&block : T -> _)
py_each
Constructor Detail
Class Method Detail
Instance Method Detail
def next
#
Description copied from module Iterator(Int32)
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.