class Stud::Try::Forever

An infinite enumerator

Public Instance Methods

each() { |a| ... } click to toggle source
# File lib/stud/try.rb, line 18
def each(&block)
  a = 0
  yield a += 1 while true
end