Method: Generator#next?

Defined in:
lib/thread_generator.rb

#next?Boolean

Returns true if the generator has not reached the end yet.

Returns:

  • (Boolean)


128
129
130
# File 'lib/thread_generator.rb', line 128

def next?
  !end?
end