Module: Refinery::Codemirror

Defined in:
lib/refinery/codemirror.rb,
lib/refinery/codemirror/engine.rb

Defined Under Namespace

Classes: Engine

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



11
12
13
# File 'lib/refinery/codemirror.rb', line 11

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

Class Method Details

.factory_pathsObject



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

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