Class String
In: ../lib/roller.rb
Parent: Object

Methods

wrap  

Public Instance methods

Wraps a string and splits it into separate lines.

Author:Allan Odgaard
WWW:blog.macromates.com/2006/wrapping-text-with-regular-expressions/
columns:Number of columns to break text into.

Returns an Array of String.

[Validate]