Class: RDocF95::RI::Attribute
- Inherits:
-
RDocF95::RI::NamedThing
- Object
- RDocF95::RI::NamedThing
- RDocF95::RI::Attribute
- Defined in:
- lib/rdoc-f95/ri/descriptions.rb
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
Returns the value of attribute comment.
-
#rw ⇒ Object
readonly
Returns the value of attribute rw.
Instance Method Summary collapse
-
#initialize(name, rw, comment) ⇒ Attribute
constructor
A new instance of Attribute.
Constructor Details
#initialize(name, rw, comment) ⇒ Attribute
Returns a new instance of Attribute.
33 34 35 36 37 |
# File 'lib/rdoc-f95/ri/descriptions.rb', line 33 def initialize(name, rw, comment) super(name) @rw = rw @comment = comment end |
Instance Attribute Details
#comment ⇒ Object (readonly)
Returns the value of attribute comment.
32 33 34 |
# File 'lib/rdoc-f95/ri/descriptions.rb', line 32 def comment @comment end |
#rw ⇒ Object (readonly)
Returns the value of attribute rw.
32 33 34 |
# File 'lib/rdoc-f95/ri/descriptions.rb', line 32 def rw @rw end |