Module: URI::Kernel

Included in:
Object
Defined in:
lib/standard/facets/uri.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) unuri(s)



19
20
21
# File 'lib/standard/facets/uri.rb', line 19

def unuri(s)
  URI.unescape(s)
end

- (Object) uri(s, w = %r{[^a-zA-Z_0-9./-]})



14
15
16
# File 'lib/standard/facets/uri.rb', line 14

def uri(s, w=%r{[^a-zA-Z_0-9./-]})
  URI.escape(s, w)
end