class Integer
  def things &b
    b ||= proc {|i| i}
    ary = []
    times do |i|
      ary << b.call(i)
    end
    ary
  end
end
