Functional time traversal in Ruby.