Sha256: b78ff83fe8acf1f644ca47c6829b4d1c3c79ce71fad91d1c45ca5d2b9491d804

Contents?: true

Size: 402 Bytes

Versions: 16

Compression:

Stored size: 402 Bytes

Contents

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rails3_assist-0.3.7 lib/rails3_assist/directory/app.rb
rails3_assist-0.3.6 lib/rails3_assist/directory/app.rb
rails3_assist-0.3.5 lib/rails3_assist/directory/app.rb
rails3_assist-0.3.4 lib/rails3_assist/directory/app.rb
rails3_assist-0.3.3 lib/rails3_assist/directory/app.rb
rails3_assist-0.3.2 lib/rails3_assist/directory/app.rb
rails3_assist-0.3.1 lib/rails3_assist/directory/app.rb
rails3_assist-0.3.0 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.13 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.12 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.11 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.10 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.9 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.8 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.7 lib/rails3_assist/directory/app.rb
rails3_assist-0.2.5 lib/rails3_assist/directory/app.rb