Sha256: 79c91b8cb6a900865c2acb8f8136e5f099ed4133648a81bd363afa6bc8aa8bc9
Contents?: true
Size: 557 Bytes
Versions: 28
Compression:
Stored size: 557 Bytes
Contents
require 'refinerycms-core' module Refinery autoload :<%= extension_plural_class_name %>Generator, 'generators/refinery/<%= extension_plural_name %>_generator' module <%= class_name.pluralize %><%= 'Engine' if plural_name == singular_name %> require 'refinery/<%= plural_name %>/engine' class << self attr_writer :root def root @root ||= Pathname.new(File.expand_path('../../../', __FILE__)) end def factory_paths @factory_paths ||= [ root.join('spec', 'factories').to_s ] end end end end
Version data entries
28 entries across 28 versions & 1 rubygems