Class: TemplateContainerTest::MyMM::Document
- Defined in:
- lib/puppet/vendor/rgen/test/template_language_test.rb
Instance Attribute Summary collapse
-
#authors ⇒ Object
readonly
Returns the value of attribute authors.
-
#chapters ⇒ Object
readonly
Returns the value of attribute chapters.
-
#sampleArray ⇒ Object
Returns the value of attribute sampleArray.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title) ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize(title) ⇒ Document
Returns a new instance of Document.
24 25 26 27 28 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 24 def initialize(title) @title = title @chapters = [] @authors = [] end |
Instance Attribute Details
#authors ⇒ Object (readonly)
Returns the value of attribute authors.
22 23 24 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 22 def @authors end |
#chapters ⇒ Object (readonly)
Returns the value of attribute chapters.
22 23 24 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 22 def chapters @chapters end |
#sampleArray ⇒ Object
Returns the value of attribute sampleArray.
23 24 25 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 23 def sampleArray @sampleArray end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
22 23 24 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 22 def title @title end |