Announcement (2017-05-07): www.ruby-forum.com is now read-only since I
unfortunately do not have the time to support and maintain the forum any
more. Please see rubyonrails.org/community and ruby-lang.org/en/community
for other Rails- und Ruby-related community platforms.

Look at http://whytheluckystiff.net/ruby/pickaxe/
... see Time.mktime
... first you should split(' ') ya string and then split the result,
order da stuff and put it into mktime...
Am 31.01.2007 um 22:20 schrieb Chris McMahon:

On Wed, Apr 4, 2012 at 8:29 AM, naveen kumar <lists@ruby-forum.com>
wrote:
> hi friends..i tring to scrape links using nokogiri gem..i using the> while loop,but the linkis not working properly to while loop the> condition is "status =404"..pls solve my problem
You should use double equals in such a condition, e.g. `status ==
404`. Also, the library you're using to fetch web pages might not
store HTTP statuses as numbers; you might have to compare against the
string '404' instead.