Class: TemplateContainerTest::MyMM::Author

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

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

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