method

extract

v1_9_3_125 - Show latest stable - Class: URI::Parser
extract(str, schemes = nil, &block)
public

Args

str

String to search

schemes

Patterns to apply to str

Description

Attempts to parse and merge a set of URIs If no block given , then returns the result, else it calls block for each element in result.

see also URI::Parser.make_regexp