Method: Kiss::Iterator#size
- Defined in:
- lib/kiss/iterator.rb
#size ⇒ Object
Returns number of iterations in loop over a collection (size of the iterated collection).
48 49 50 |
# File 'lib/kiss/iterator.rb', line 48 def size @_collection ? @_collection.size : nil end |