Class RDoc::Constant
In: rdoc/code_objects.rb
Parent: CodeObject

Represent a constant

Methods

new  

Attributes

name  [RW] 
value  [RW] 

Public Class methods

[Source]

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

[Validate]

ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

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.