class FlexArray::ForEver

A helper class that encapsulates the idea of looping without end!

Public Instance Methods

times(&block) click to toggle source

Do something until false == true ;-)

# File lib/flex_array/flex_array_forever.rb, line 8
def times(&block)
  loop {block.call}
end
to_i() click to toggle source

Convert an eternity into an integer. ;-)

# File lib/flex_array/flex_array_forever.rb, line 13
def to_i
  nil
end