Sha256: 6163a3488a52a1e0c50719f744d9b7f7248678b4147e434a50f034901ee8f19f

Contents?: true

Size: 495 Bytes

Versions: 10

Compression:

Stored size: 495 Bytes

Contents

class ModInflector < Zeitwerk::Inflector
  def camelize basename, abspath
    ActiveSupport::Dependencies::ZeitwerkIntegration::Inflector.camelize(basename, abspath)

    # if basename =~ /\Ahtml_(.*)/
    #   ActiveSupport::Dependencies::ZeitwerkIntegration::Inflector.camelize(basename, abspath)
    #   # "HTML" + super($1, abspath)
    # else
    #   super
    # end
  end

  def inflect overrides
    ActiveSupport::Dependencies::ZeitwerkIntegration::Inflector.inflect(overrides)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
card-1.101.3 lib/card/mod_inflector.rb
card-1.101.2 lib/card/mod_inflector.rb
card-1.101.1 lib/card/mod_inflector.rb
card-1.101.0 lib/card/mod_inflector.rb
card-1.100.0 lib/card/mod_inflector.rb
card-1.99.6 lib/card/mod_inflector.rb
card-1.99.5 lib/card/mod_inflector.rb
card-1.99.4 lib/card/mod_inflector.rb
card-1.99.3 lib/card/mod_inflector.rb
card-1.99.2 lib/card/mod_inflector.rb