Class: Messed::Tasks::Generation

Inherits:
Object
  • Object
show all
Defined in:
lib/messed/tasks/generation.rb

Instance Method Summary collapse

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