Module: Refinery::Slideshow
- Defined in:
- lib/refinery/slideshow.rb,
lib/refinery/slideshow/engine.rb,
app/models/refinery/slideshow/slide.rb,
app/controllers/refinery/slideshow/admin/slides_controller.rb,
app/controllers/refinery/slideshow/admin/slideshows_controller.rb
Defined Under Namespace
Modules: Admin, Concerns Classes: Engine, Slide, Slideshow
Instance Attribute Summary collapse
-
#root ⇒ Object
writeonly
Sets the attribute root.
Class Method Summary collapse
Instance Attribute Details
#root=(value) ⇒ Object (writeonly)
Sets the attribute root
8 9 10 |
# File 'lib/refinery/slideshow.rb', line 8 def root=(value) @root = value end |
Class Method Details
.factory_paths ⇒ Object
15 16 17 |
# File 'lib/refinery/slideshow.rb', line 15 def factory_paths @factory_paths ||= [ root.join("spec/factories").to_s ] end |
.root ⇒ Object
11 12 13 |
# File 'lib/refinery/slideshow.rb', line 11 def root @root ||= Pathname.new(File.('../../../', __FILE__)) end |