Class: Kozo::Inflector

Inherits:
Zeitwerk::GemInflector
  • Object
show all
Defined in:
lib/kozo/inflector.rb

Instance Method Summary collapse

Instance Method Details

#camelize(basename, abspath) ⇒ Object



5
6
7
8
9
# File 'lib/kozo/inflector.rb', line 5

def camelize(basename, abspath)
  return super(Regexp.last_match(2), abspath) if basename =~ /\A(\d+)_(.*)/ && abspath.include?("kozo/upgrade")

  super
end