Methods

Class Index [+]

Quicksearch

RDoc::Include

A Module include in a class with #include

Attributes

name[RW]

Name of included module

Public Class Methods

new(name, comment) click to toggle source

Creates a new Include for name with comment

# File lib/rdoc/include.rb, line 16
  def initialize(name, comment)
    super()
    @name = name
    self.comment = comment
  end

Public Instance Methods

module() click to toggle source

Attempts to locate the included module object. Returns the name if not known.

# File lib/rdoc/include.rb, line 34
  def module
    RDoc::TopLevel.find_module_named(@name) || @name
  end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.