Class: CocinaModelsInflector

Inherits:
Zeitwerk::Inflector
  • Object
show all
Defined in:
lib/cocina/models.rb

Instance Method Summary collapse

Instance Method Details

#camelize(basename, _abspath) ⇒ Object



9
10
11
12
13
14
15
16
17
18
# File 'lib/cocina/models.rb', line 9

def camelize(basename, _abspath)
  case basename
  when 'dro'
    'DRO'
  when 'version'
    'VERSION'
  else
    super
  end
end