Class: ProjectsGenerator
- Inherits:
-
TempGenerator
- Object
- TempGenerator
- ProjectsGenerator
- Defined in:
- lib/cosi-temp/projects-generator.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
Attributes inherited from TempGenerator
#date, #file_array, #filename, #title
Instance Method Summary collapse
-
#initialize(author, title, date) ⇒ ProjectsGenerator
constructor
A new instance of ProjectsGenerator.
Methods inherited from TempGenerator
Constructor Details
#initialize(author, title, date) ⇒ ProjectsGenerator
Returns a new instance of ProjectsGenerator.
4 5 6 7 8 9 10 |
# File 'lib/cosi-temp/projects-generator.rb', line 4 def initialize(, title, date) super(date) @title = title @author = @filename = gen_filename @file_array = create_file end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
2 3 4 |
# File 'lib/cosi-temp/projects-generator.rb', line 2 def @author end |