On 5 May 2010 10:07, Michael Pavling <[email protected]> wrote:
> The method I've seen for checking files is "File.exists?..." not
> "File::exists?" (not sure if your way would work anyway)

In fact, "File.exist?" (without the 's') is preferred according to the API.
http://ruby-doc.org/core/classes/File.html#M002556

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to