Class: Messed::Tasks::Generation
- Inherits:
-
Object
- Object
- Messed::Tasks::Generation
- Defined in:
- lib/messed/tasks/generation.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Generation
constructor
A new instance of Generation.
Constructor Details
#initialize(name) ⇒ Generation
Returns a new instance of Generation.
5 6 7 |
# File 'lib/messed/tasks/generation.rb', line 5 def initialize(name) Dressmaker.new(File.join(File.dirname(__FILE__), '..', '..', '..', 'patterns', 'messed'), File.join(Dir.pwd, name)).generate(:app_name => name) end |