Module Mack::Paths
In: lib/mack/boot/paths.rb

Methods

Public Class methods

<MACK_PROJECT_ROOT>/app

[Source]

    # File lib/mack/boot/paths.rb, line 93
93:       def self.app(*files)
94:         Mack::Paths.root('app', *files)
95:       end

<MACK_PROJECT_ROOT>/bin

[Source]

     # File lib/mack/boot/paths.rb, line 231
231:       def self.bin(*files)
232:         Mack::Paths.root('bin', *files)
233:       end

<MACK_PROJECT_ROOT>/config

[Source]

     # File lib/mack/boot/paths.rb, line 196
196:       def self.config(*files)
197:         Mack::Paths.root('config', *files)
198:       end

<MACK_PROJECT_ROOT>/config/configatron

[Source]

     # File lib/mack/boot/paths.rb, line 201
201:       def self.configatron(*files)
202:         Mack::Paths.config('configatron', *files)
203:       end

<MACK_PROJECT_ROOT>/test/helpers/controllers

[Source]

     # File lib/mack/boot/paths.rb, line 131
131:       def self.controller_helper_tests(*files)
132:         Mack::Paths.test_helpers('controllers', *files)
133:       end

<MACK_PROJECT_ROOT>/app/helpers/controllers

[Source]

     # File lib/mack/boot/paths.rb, line 166
166:       def self.controller_helpers(*files)
167:         Mack::Paths.helpers('controllers', *files)
168:       end

<MACK_PROJECT_ROOT>/test/controllers

[Source]

     # File lib/mack/boot/paths.rb, line 122
122:       def self.controller_tests(*files)
123:         Mack::Paths.test('controllers', *files)
124:       end

<MACK_PROJECT_ROOT>/app/controllers

[Source]

     # File lib/mack/boot/paths.rb, line 151
151:       def self.controllers(*files)
152:         Mack::Paths.app('controllers', *files)
153:       end

<MACK_PROJECT_ROOT>/db

[Source]

     # File lib/mack/boot/paths.rb, line 186
186:       def self.db(*files)
187:         Mack::Paths.root('db', *files)
188:       end

[Source]

    # File lib/mack/boot/paths.rb, line 97
97:       def self.form_builders(*files)
98:         Mack::Paths.app('form_builders')
99:       end

<MACK_PROJECT_ROOT>/app/helpers

[Source]

     # File lib/mack/boot/paths.rb, line 161
161:       def self.helpers(*files)
162:         Mack::Paths.app('helpers', *files)
163:       end

<MACK_PROJECT_ROOT>/public/images

[Source]

    # File lib/mack/boot/paths.rb, line 78
78:       def self.images(*files)
79:         Mack::Paths.public('images', *files)
80:       end

<MACK_PROJECT_ROOT>/config/initializers

[Source]

     # File lib/mack/boot/paths.rb, line 206
206:       def self.initializers(*files)
207:         Mack::Paths.config('initializers', *files)
208:       end

<MACK_PROJECT_ROOT>/public/javascripts

[Source]

    # File lib/mack/boot/paths.rb, line 83
83:       def self.javascripts(*files)
84:         Mack::Paths.public('javascripts', *files)
85:       end

<MACK_PROJECT_ROOT>/app/views/layouts

[Source]

     # File lib/mack/boot/paths.rb, line 146
146:       def self.layouts(*files)
147:         Mack::Paths.views('layouts', *files)
148:       end

<MACK_PROJECT_ROOT>/lib

[Source]

     # File lib/mack/boot/paths.rb, line 176
176:       def self.lib(*files)
177:         Mack::Paths.root('lib', *files)
178:       end

<MACK_PROJECT_ROOT>/log

[Source]

     # File lib/mack/boot/paths.rb, line 102
102:       def self.log(*files)
103:         Mack::Paths.root('log', *files)
104:       end

<MACK_PROJECT_ROOT>/db/migrations

[Source]

     # File lib/mack/boot/paths.rb, line 191
191:       def self.migrations(*files)
192:         Mack::Paths.db('migrations', *files)
193:       end

<MACK_PROJECT_ROOT>/test/models

[Source]

     # File lib/mack/boot/paths.rb, line 117
117:       def self.model_tests(*files)
118:         Mack::Paths.test('models', *files)
119:       end

<MACK_PROJECT_ROOT>/app/models

[Source]

     # File lib/mack/boot/paths.rb, line 156
156:       def self.models(*files)
157:         Mack::Paths.app('models', *files)
158:       end

<MACK_PROJECT_ROOT>/vendor/plugins

[Source]

     # File lib/mack/boot/paths.rb, line 216
216:       def self.plugins(*files)
217:         Mack::Paths.vendor('plugins', *files)
218:       end

<MACK_PROJECT_ROOT>/portlet_config

[Source]

     # File lib/mack/boot/paths.rb, line 226
226:       def self.portlet_config(*files)
227:         Mack::Paths.root('portlet_config', *files)
228:       end

<MACK_PROJECT_ROOT>/tmp/portlet_package

[Source]

     # File lib/mack/boot/paths.rb, line 221
221:       def self.portlet_package(*files)
222:         Mack::Paths.tmp('portlet_package', *files)
223:       end

<MACK_PROJECT_ROOT>/public

[Source]

    # File lib/mack/boot/paths.rb, line 73
73:       def self.public(*files)
74:         Mack::Paths.root('public', *files)
75:       end

<MACK_PROJECT_ROOT>

[Source]

    # File lib/mack/boot/paths.rb, line 68
68:       def self.root(*files)
69:         File.expand_path(File.join(Mack.root, *files))
70:       end

<MACK_PROJECT_ROOT>/public/stylesheets

[Source]

    # File lib/mack/boot/paths.rb, line 88
88:       def self.stylesheets(*files)
89:         Mack::Paths.public('stylesheets', *files)
90:       end

<MACK_PROJECT_ROOT>/lib/tasks

[Source]

     # File lib/mack/boot/paths.rb, line 181
181:       def self.tasks(*files)
182:         Mack::Paths.lib('tasks', *files)
183:       end

<MACK_PROJECT_ROOT>/test

[Source]

     # File lib/mack/boot/paths.rb, line 107
107:       def self.test(*files)
108:         Mack::Paths.root('test', *files)
109:       end

[Source]

     # File lib/mack/boot/paths.rb, line 126
126:       def self.test_helpers(*files)
127:         Mack::Paths.test('helpers', *files)
128:       end

<MACK_PROJECT_ROOT>/tmp

[Source]

     # File lib/mack/boot/paths.rb, line 112
112:       def self.tmp(*files)
113:         Mack::Paths.root("tmp", *files)
114:       end

<MACK_PROJECT_ROOT>/vendor

[Source]

     # File lib/mack/boot/paths.rb, line 211
211:       def self.vendor(*files)
212:         Mack::Paths.root('vendor', *files)
213:       end

<MACK_PROJECT_ROOT>/test/helpers/views

[Source]

     # File lib/mack/boot/paths.rb, line 136
136:       def self.view_helper_tests(*files)
137:         Mack::Paths.test_helpers('views', *files)
138:       end

<MACK_PROJECT_ROOT>/app/helpers/views

[Source]

     # File lib/mack/boot/paths.rb, line 171
171:       def self.view_helpers(*files)
172:         Mack::Paths.helpers('views', *files)
173:       end

<MACK_PROJECT_ROOT>/app/views

[Source]

     # File lib/mack/boot/paths.rb, line 141
141:       def self.views(*files)
142:         Mack::Paths.app('views', *files)
143:       end

[Validate]