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

In Files

  • rdoc/code_objects.rb

Methods

Files

Class/Module Index [+]

Quicksearch

RDoc::Constant

Represent a constant

Attributes

name[RW]
value[RW]

Public Class Methods

new(name, value, comment) click to toggle source
 
               # File rdoc/code_objects.rb, line 710
def initialize(name, value, comment)
  super()
  @name = name
  @value = value
  self.comment = comment
end