Class: EmptyIterator

Inherits:
Iterator show all
Defined in:
lib/jiji/util/iterator.rb

Overview

空のイテレータ

Instance Method Summary collapse

Methods inherited from Iterator

#close, #each

Instance Method Details

#nextObject



28
# File 'lib/jiji/util/iterator.rb', line 28

def next; nil; end

#next?Boolean

Returns:

  • (Boolean)


27
# File 'lib/jiji/util/iterator.rb', line 27

def next?; false; end