Module: Refinery::Flare
- Defined in:
- lib/refinery/flare.rb,
lib/refinery/flare/engine.rb,
app/models/refinery/flare/part.rb,
app/models/refinery/flare/field.rb,
app/models/refinery/flare/template.rb,
app/models/refinery/flare/hash_initializer.rb
Defined Under Namespace
Modules: HashInitializer
Classes: Engine, Field, Part, Template
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.root ⇒ Object
12
13
14
|
# File 'lib/refinery/flare.rb', line 12
def root
@root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end
|
Class Method Details
.factory_paths ⇒ Object
16
17
18
|
# File 'lib/refinery/flare.rb', line 16
def factory_paths
@factory_paths ||= [ root.join('spec', 'factories').to_s ]
end
|