Sha256: 1c264a5a7197fc9dcc4f29293216668298add25c765333ad76075406200086ec

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 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

module Voom
end

if defined?(::Rails)
  # loader.logger = Rails.logger
  load 'voom/railtie.rb'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
voom-presenters-2.0.2 lib/voom.rb
voom-presenters-2.0.1 lib/voom.rb
voom-presenters-2.0.0 lib/voom.rb