Class RI::NamedThing
In: rdoc/ri/ri_descriptions.rb
Parent: Object

Methods

<=>   eql?   hash   new  

Attributes

name  [R] 

Public Class methods

[Source]

# File rdoc/ri/ri_descriptions.rb, line 11
    def initialize(name)
      @name = name
    end

Public Instance methods

[Source]

# File rdoc/ri/ri_descriptions.rb, line 14
    def <=>(other)
      @name <=> other.name
    end

[Source]

# File rdoc/ri/ri_descriptions.rb, line 22
    def eql?(other)
      @name.eql?(other)
    end

[Source]

# File rdoc/ri/ri_descriptions.rb, line 18
    def hash
      @name.hash
    end

[Validate]

ruby-doc.org is a service of James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.