Begin forwarded message:
open(“weather - Google Search”) do |page|
page.readlines.join =~ /Weather</b> for (.?)</b>.>(\d+)
°F/
puts “The temperature in #{$1} is #{$2} degrees F.”
end
Begin forwarded message:
Begin forwarded message:
open(“weather - Google Search”) do |page|
page.readlines.join =~ /Weather</b> for (.?)</b>.>(\d+)
°F/
puts “The temperature in #{$1} is #{$2} degrees F.”
end
Begin forwarded message:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs