Class: SwitchmanInflector

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

Instance Method Summary collapse

Instance Method Details

#camelize(basename, abspath) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/switchman.rb', line 7

def camelize(basename, abspath)
  if basename =~ /\Apostgresql_(.*)/
    "PostgreSQL" + super($1, abspath)
  else
    super
  end
end