Sha256: 6269b60f80f680b54d62cf5d536e48edc5663615667e4ca559dfea3c1f64980c
Contents?: true
Size: 493 Bytes
Versions: 111
Compression:
Stored size: 493 Bytes
Contents
module <%= class_name %> class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name '<%= file_name %>' # use rspec for tests config.generators do |g| g.test_framework :rspec end def self.activate Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c| Rails.configuration.cache_classes ? require(c) : load(c) end end config.to_prepare &method(:activate).to_proc end end
Version data entries
111 entries across 111 versions & 2 rubygems