Module: Refinery::Images

Extended by:
Dragonfly::ExtensionConfiguration
Includes:
ActiveSupport::Configurable
Defined in:
images/lib/refinery/images.rb,
images/lib/refinery/images/engine.rb,
images/lib/refinery/images/validators.rb,
images/lib/refinery/images/configuration.rb,
images/lib/refinery/images/validators/image_size_validator.rb,
images/lib/refinery/images/validators/image_update_validator.rb

Defined Under Namespace

Modules: Validators Classes: Engine

Class Method Summary collapse

Class Method Details

.factory_pathsObject


19
20
21
# File 'images/lib/refinery/images.rb', line 19

def factory_paths
  @factory_paths ||= [ root.join("spec/factories").to_s ]
end

.rootObject


15
16
17
# File 'images/lib/refinery/images.rb', line 15

def root
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end