Class RI::ModuleDescription
In: rdoc/ri/ri_descriptions.rb
Parent: Description

Methods

Attributes

attributes  [RW] 
class_methods  [RW] 
constants  [RW] 
includes  [RW] 
instance_methods  [RW] 

Public Instance methods

[Source]

# File rdoc/ri/ri_descriptions.rb, line 105
    def display_name
      "Module"
    end

merge in another class desscription into this one

[Source]

# File rdoc/ri/ri_descriptions.rb, line 89
    def merge_in(old)
      merge(@class_methods, old.class_methods)
      merge(@instance_methods, old.instance_methods)
      merge(@attributes, old.attributes)
      merge(@constants, old.constants)
      merge(@includes, old.includes)
      if @comment.nil? || @comment.empty?
        @comment = old.comment
      else
        unless old.comment.nil? or old.comment.empty? then
          @comment << SM::Flow::RULE.new
          @comment.concat old.comment
        end
      end
    end

the ‘ClassDescription’ subclass overrides this to format up the name of a parent

[Source]

# File rdoc/ri/ri_descriptions.rb, line 111
    def superclass_string
      nil
    end

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

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.