This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

user=

        # URI::Generic.user=

(from ruby core)
### Implementation from Generic
---
    user=(user)

---

## Args

`v`
:   String


## Description

Public setter for the `user` component (with validation).

See also URI::Generic.check_user.

## Usage

    require 'uri'

    uri = URI.parse("http://john:S3nsit1ve@my.example.com")
    uri.user = "sam"
    uri.to_s  #=> "http://sam:V3ry_S3nsit1ve@my.example.com"



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.