lib/mechanize/page.rb
##
# Return a list of all meta refresh elements
Return a list of all meta refresh elements
Return a list of all meta refresh elements
def meta_refresh
    query = @mech.follow_meta_refresh == :anywhere ? 'meta' : 'head > meta'
    @meta_refresh ||= search(query).map do |node|
      MetaRefresh.from_node node, self
    end.compact
  end
def meta_refresh query = @mech . follow_meta_refresh == :anywhere ? 'meta' : 'head > meta' @meta_refresh ||= search ( query ) . map do | node | MetaRefresh . from_node node , self end . compact end
Return a list of all meta refresh elements
Return a list of all meta refresh elements