method
    
    fragment=
 
  fragment=(v)
  public
  check the fragment v component against the URI::Parser Regexp for :FRAGMENT
Args
| v | 
Description
public setter for the fragment component v. (with validation)
Usage
require 'uri' uri = URI.parse("http://my.example.com/?id=25#time=1305212049") uri.fragment = "time=1305212086" # => "time=1305212086" uri #=> #<URI::HTTP:0x000000007a81f8 URL:http://my.example.com/?id=25#time=1305212086>

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
   
    
     
    
    
 
  