Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • rdoc/ri/ri_descriptions.rb

Parent

Methods

Files

Class/Module Index [+]

Quicksearch

RI::NamedThing

Attributes

name[R]

Public Class Methods

new(name) click to toggle source
 
               # File rdoc/ri/ri_descriptions.rb, line 11
def initialize(name)
  @name = name
end
            

Public Instance Methods

<=>(other) click to toggle source
 
               # File rdoc/ri/ri_descriptions.rb, line 14
def <=>(other)
  @name <=> other.name
end
            
eql?(other) click to toggle source
 
               # File rdoc/ri/ri_descriptions.rb, line 22
def eql?(other)
  @name.eql?(other)
end
            
hash() click to toggle source
 
               # File rdoc/ri/ri_descriptions.rb, line 18
def hash
  @name.hash
end