On Thu, Feb 11, 2010 at 7:37 AM, Jeffrey L. Taylor <r...@abluz.dyndns.org> 
wrote:
> Quoting Frederick Cheung <frederick.che...@gmail.com>:
>>
>>
>> On Feb 10, 6:40 pm, JohnMerlino <stoici...@aol.com> wrote:
>> > Hey all,
>> >
>> > I get an undefined method `join' for #<String  NoMethodError.
>> >
>>
>
> join isn't defined for strings.  Arrays of strings, yes, a single string, no.
>
And it doesn't even makes sense, since join takes an array and returns
each element into a String. What would one expect from "Hello,
World".join ?

-- 
Curtis Cooley
curtis.coo...@gmail.com
home:http://curtiscooley.com
blog:http://ponderingobjectorienteddesign.blogspot.com
===============
Leadership is a potent combination of strategy and character. But if
you must be without one, be without the strategy.
-- H. Norman Schwarzkopf

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to