Class: URI::Generic
- Inherits:
-
Object
- Object
- URI::Generic
- Defined in:
- lib/launchcraft/uri.rb
Instance Method Summary collapse
Instance Method Details
#request ⇒ Object
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 |