Method: Desert::Plugin#framework_paths
- Defined in:
- lib/desert/plugin.rb
#framework_paths ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/desert/plugin.rb', line 43 def framework_paths # TODO: Don't include dirs for frameworks that are not used %w( railties railties/lib actionpack/lib activesupport/lib activerecord/lib actionmailer/lib actionwebservice/lib ).map { |dir| "#{framework_root_path}/#{dir}" }.select { |dir| File.directory?(dir) } end |