Class: URI::Generic

Inherits:
Object
  • Object
show all
Defined in:
lib/launchcraft/uri.rb

Instance Method Summary collapse

Instance Method Details

#requestObject



24
25
26
27
28
# File 'lib/launchcraft/uri.rb', line 24

def request
  x = dup
  x.component.take_while {|y| y != :path }.each {|y| x.send("#{y}=".to_sym, nil) }
  x.to_s
end