Module: Rails3::Assist::App

Extended by:
App
Included in:
App
Defined in:
lib/rails3_assist/app.rb

Instance Method Summary collapse

Instance Method Details

#create_empty_tmp(*dir_types) ⇒ Object



3
4
5
6
7
8
# File 'lib/rails3_assist/app.rb', line 3

def create_empty_tmp *dir_types
  dir_types.flatten.each do |dir_type|
    dir = Rails3::Assist::Directory.rails_dir_for(dir_type)
    FileUtils.mkdir_p dir
  end
end