Class: Pipedream::Autoloader::Inflector

Inherits:
Zeitwerk::Inflector
  • Object
show all
Defined in:
lib/pipedream/autoloader.rb

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



6
7
8
9
# File 'lib/pipedream/autoloader.rb', line 6

def camelize(basename, _abspath)
  map = { cli: "CLI", version: "VERSION" }
  map[basename.to_sym] || super
end