Module: Refinery::Images
- Extended by:
- Dragonfly::ExtensionConfiguration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/refinery/images.rb,
lib/refinery/images/engine.rb,
lib/refinery/images/validators.rb,
lib/refinery/images/configuration.rb,
lib/refinery/images/validators/image_size_validator.rb,
lib/refinery/images/validators/image_update_validator.rb
Defined Under Namespace
Modules: Validators
Classes: Engine
Class Method Summary
collapse
Class Method Details
.factory_paths ⇒ Object
19
20
21
|
# File 'lib/refinery/images.rb', line 19
def factory_paths
@factory_paths ||= [ root.join("spec/factories").to_s ]
end
|
.root ⇒ Object
15
16
17
|
# File 'lib/refinery/images.rb', line 15
def root
@root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end
|