Class: RDocF95::Markup::Flow::LIST
- Inherits:
-
Object
- Object
- RDocF95::Markup::Flow::LIST
- Defined in:
- lib/rdoc-f95/markup/to_flow.rb
Instance Attribute Summary collapse
-
#contents ⇒ Object
readonly
Returns the value of attribute contents.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #<<(stuff) ⇒ Object
-
#initialize(type) ⇒ LIST
constructor
A new instance of LIST.
Constructor Details
#initialize(type) ⇒ LIST
Returns a new instance of LIST.
14 15 16 17 |
# File 'lib/rdoc-f95/markup/to_flow.rb', line 14 def initialize(type) @type = type @contents = [] end |
Instance Attribute Details
#contents ⇒ Object (readonly)
Returns the value of attribute contents.
13 14 15 |
# File 'lib/rdoc-f95/markup/to_flow.rb', line 13 def contents @contents end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
13 14 15 |
# File 'lib/rdoc-f95/markup/to_flow.rb', line 13 def type @type end |
Instance Method Details
#<<(stuff) ⇒ Object
18 19 20 |
# File 'lib/rdoc-f95/markup/to_flow.rb', line 18 def <<(stuff) @contents << stuff end |