Class: Tomago::ProjectGenerator
- Inherits:
-
Object
- Object
- Tomago::ProjectGenerator
- Includes:
- ProjectHelpers
- Defined in:
- lib/tomago/project_generator.rb
Instance Attribute Summary
Attributes included from ProjectHelpers
Instance Method Summary collapse
-
#initialize(name) ⇒ ProjectGenerator
constructor
A new instance of ProjectGenerator.
Methods included from ProjectHelpers
#ensure_tomago_dir, #launch_editor, #project_file
Constructor Details
#initialize(name) ⇒ ProjectGenerator
Returns a new instance of ProjectGenerator.
5 6 7 8 9 10 |
# File 'lib/tomago/project_generator.rb', line 5 def initialize(name) @project_name = name ensure_tomago_dir generate_project_file launch_editor end |