Module: Refinery::Settings

Includes:
ActiveSupport::Configurable
Defined in:
lib/refinery/settings.rb,
lib/refinery/settings/engine.rb,
lib/refinery/settings/configuration.rb

Defined Under Namespace

Classes: Engine

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



14
15
16
# File 'lib/refinery/settings.rb', line 14

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

Class Method Details

.factory_pathsObject



18
19
20
# File 'lib/refinery/settings.rb', line 18

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