method
create_directories
v2.3.8 -
Show latest stable
- Class:
AppGenerator
create_directories(m)private
No documentation available.
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 79
def create_directories(m)
m.directory ''
# Intermediate directories are automatically created so don't sweat their absence here.
%w(
app/controllers
app/helpers
app/models
app/views/layouts
config/environments
config/initializers
config/locales
db
doc
lib
lib/tasks
log
public/images
public/javascripts
public/stylesheets
script/performance
test/fixtures
test/functional
test/integration
test/performance
test/unit
vendor
vendor/plugins
tmp/sessions
tmp/sockets
tmp/cache
tmp/pids
).each { |path| m.directory(path) }
end