Class: URI::Generic
- Inherits:
-
Object
- Object
- URI::Generic
- Defined in:
- lib/nerdz/rebinds.rb
Instance Method Summary collapse
Instance Method Details
#request ⇒ Object
25 26 27 28 29 |
# File 'lib/nerdz/rebinds.rb', line 25 def request x = self.dup x.component.take_while {|y| y != :path }.each {|y| x.send("#{y}=".to_sym, nil) } x.to_s end |