Class: Charleston::Generator
- Inherits:
-
Object
- Object
- Charleston::Generator
- Defined in:
- lib/charleston/generator.rb
Instance Method Summary collapse
-
#initialize(directory_name) ⇒ Generator
constructor
A new instance of Generator.
Constructor Details
#initialize(directory_name) ⇒ Generator
Returns a new instance of Generator.
3 4 5 6 7 |
# File 'lib/charleston/generator.rb', line 3 def initialize(directory_name) @target_directory = directory_name enumerate_and_populate_directory end |