David Brady <ruby_talk / shinybit.com> wrote:

>       cal_lines = []; cal.to_html.each_line {|line| cal_lines << line }

  require 'enumerator'
  cal_lines = cal.to_html.to_enum(:each_line).to_a

-Levin