On 20 Sep 2005, at 14:34, Charles Leeds wrote:

> I'm trying to use the align_center method for the String class and  
> it never works as shown below.  Any ideas?
>
> http://nano.rubyforge.org/doc/classes/String.html
>
> Code:
>    k = String.new("hello").align_center(14)
>
> Error:
>    c:/cronjobs/test.rb:1: undefined method `align_center' for  
> "hello":String (NoMethodError)

You mean String#center.

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04