Module: Rails3::Assist::Directory::App::Methods

Included in:
Rails3::Assist::Directory::App, Rails3::Assist::Directory::App
Defined in:
lib/rails3_assist/directory/app.rb

Instance Method Summary collapse

Instance Method Details

#app_dir(options = {}) ⇒ Object



8
9
10
11
# File 'lib/rails3_assist/directory/app.rb', line 8

def app_dir options={}
  rails_root_dir = Rails3::Assist::Directory::Root.root_dir(options)
  File.join(rails_root_dir, 'app')
end

#app_directoriesObject



4
5
6
# File 'lib/rails3_assist/directory/app.rb', line 4

def app_directories
  Rails3::Assist::Artifact::app_artifacts.map {|a| a.to_s.pluralize.to_sym}
end