Class: TemplateContainerTest::MyMM::Author
- Defined in:
- lib/puppet/vendor/rgen/test/template_language_test.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, email) ⇒ Author
constructor
A new instance of Author.
Constructor Details
#initialize(name, email) ⇒ Author
Returns a new instance of Author.
33 34 35 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 33 def initialize(name, email) @name, @email = name, email end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
32 33 34 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 32 def email @email end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
32 33 34 |
# File 'lib/puppet/vendor/rgen/test/template_language_test.rb', line 32 def name @name end |