Module: Refinery::Downloads
- Defined in:
- lib/refinery/downloads.rb,
lib/refinery/downloads/engine.rb,
app/models/refinery/downloads/download.rb,
app/controllers/refinery/downloads/admin/downloads_controller.rb
Defined Under Namespace
Modules: Admin
Classes: Download, Engine
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.root ⇒ Object
12
13
14
|
# File 'lib/refinery/downloads.rb', line 12
def root
@root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end
|
Class Method Details
.factory_paths ⇒ Object
16
17
18
|
# File 'lib/refinery/downloads.rb', line 16
def factory_paths
@factory_paths ||= [ root.join('spec', 'factories').to_s ]
end
|