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
.root ⇒ Object
14 15 16 |
# File 'lib/refinery/settings.rb', line 14 def root @root ||= Pathname.new(File.('../../../', __FILE__)) end |
Class Method Details
.factory_paths ⇒ Object
18 19 20 |
# File 'lib/refinery/settings.rb', line 18 def factory_paths @factory_paths ||= [ root.join('spec/factories').to_s ] end |