Sha256: 6dda41f9a8b2f38b3a2df6c99bae7659f18c69bc4b6d83000f9309ae927c8feb
Contents?: true
Size: 509 Bytes
Versions: 3
Compression:
Stored size: 509 Bytes
Contents
module SpreeZaezVariantsLabels class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_zaez_variants_labels' # 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
3 entries across 3 versions & 1 rubygems