# File lib/www/mechanize/page.rb, line 91 def meta @meta ||= WWW::Mechanize::List.new( search('//meta').map do |node| next unless node['http-equiv'] && node['content'] (equiv, content) = node['http-equiv'], node['content'] if equiv && equiv.downcase == 'refresh' if content && content =~ /^\d+\s*;\s*url\s*=\s*'?([^\s']+)/i node['href'] = $1 Meta.new(node, @mech, self) end end end.compact ) end