Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
require "rubygems" require "rubygame" include Rubygame Rubygame.init() TTF.setup() def test_text() font = TTF.new("data/fonts/freesansbold.ttf",25) text = font.render("text_text",false,[200,200,200]) end def main count = 0 loop do test_text() count += 1 puts count end end main()
This paste will be private.
From the Design Piracy series on my blog: