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