Module: Refinery::Resources

Extended by:
Dragonfly::ExtensionConfiguration
Includes:
ActiveSupport::Configurable
Defined in:
resources/lib/refinery/resources.rb,
resources/lib/refinery/resources/engine.rb,
resources/lib/refinery/resources/validators.rb,
resources/lib/refinery/resources/configuration.rb,
resources/lib/refinery/resources/validators/file_size_validator.rb

Defined Under Namespace

Modules: Validators Classes: Engine

Class Method Summary collapse

Class Method Details

.factory_pathsObject



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

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

.rootObject



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

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