Sha256: 773b51fdd0596eb0005f75aaadfc65ee84730b337eb28b2910c1b9dc966a5930
Contents?: true
Size: 589 Bytes
Versions: 2
Compression:
Stored size: 589 Bytes
Contents
require 'zeitwerk' class MyInflector < Zeitwerk::GemInflector def camelize(basename, _abspath) case basename when "dsl" "DSL" else super end end end loader = Zeitwerk::Loader.for_gem loader.inflector = MyInflector.new(__FILE__) #loader.logger = Logger.new($stderr) loader.setup generators = File.join(__dir__,'generators') loader.do_not_eager_load(generators) module Coprl end if defined?(::Rails) # We need this class's file to be parsed, but we want to let Zeitwerk load it Coprl::Presenters::Rails::Railtie Coprl::Presenters::Rails::Engine end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coprl-3.0.0.beta.12 | lib/coprl.rb |
coprl-3.0.0.beta.11 | lib/coprl.rb |