Class: TemplateContainerTest::MyMM::Document

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/vendor/rgen/test/template_language_test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#authorsObject (readonly)

Returns the value of attribute authors.



22
23
24
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 22

def authors
  @authors
end

#chaptersObject (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

#sampleArrayObject

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

#titleObject (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