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 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
7 8 9 |
# File 'lib/refinery/slideshow.rb', line 7 def root=(value) @root = value end |
Class Method Details
.factory_paths ⇒ Object
14 15 16 |
# File 'lib/refinery/slideshow.rb', line 14 def factory_paths @factory_paths ||= [ root.join("spec/factories").to_s ] end |
.root ⇒ Object
10 11 12 |
# File 'lib/refinery/slideshow.rb', line 10 def root @root ||= Pathname.new(File.('../../../', __FILE__)) end |