Sha256: c2123c9018524835f746897cb1b8dc61e94bfa809a02630cca865a306c6b05a6
Contents?: true
Size: 437 Bytes
Versions: 6
Compression:
Stored size: 437 Bytes
Contents
module Zeitwerk class GemInflector < Inflector # @sig (String) -> void def initialize(root_file) namespace = File.basename(root_file, ".rb") lib_dir = File.dirname(root_file) @version_file = File.join(lib_dir, namespace, "version") end # @sig (String, String) -> String def camelize(basename, abspath) abspath == @version_file ? "VERSION" : super end end end
Version data entries
6 entries across 6 versions & 1 rubygems