# File lib/merb-gen/base.rb, line 20 def manifest record do |m| @m = m options["spec"] = true unless options["test"] # Set directories that should be optional based on command-line args @choices = %w(test spec) # Set the assigns that should be used for path-interpolation and building templates @assigns = {:base_name => File.basename(@name), :test_type => options["spec"] ? "rspec" : "test_unit"} FileUtils.mkdir_p @name create_dirs copy_dirs copy_files display_framework_selections end end