From: Charles Leeds Date: 2005-09-21T06:38:11+09:00 Subject: Re: Class: String align_center Hmm. Appears this isn't base Ruby functionality. My bad. I will have to learn how to implement Nano in Rails. 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) > > Thanks, > Charles > > > >