Sha256: d418cb77a11234f791e7ec62b3efd257475899a4c77f5a493ad534cdf1e42fc2
Contents?: true
Size: 577 Bytes
Versions: 2
Compression:
Stored size: 577 Bytes
Contents
require 'webpacker' require 'carrierwave' require 'kaminari' require 'intro/engine' require 'intro/cache' require 'intro/configuration' require 'intro/helpers/view_helper' module Intro class << self def config @config ||= Configuration.new end def configure(&block) config.instance_exec(&block) end def cache Intro::Cache end def webpacker @webpacker ||= ::Webpacker::Instance.new( root_path: Intro::Engine.root, config_path: Intro::Engine.root.join('config', 'webpacker.yml') ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
intro-0.4.1 | lib/intro.rb |
intro-0.4.0 | lib/intro.rb |