class HOALInflector

Inflector to support the HOAL style of spelling HOALife

Public Instance Methods

camelize(basename, _abspath) click to toggle source
Calls superclass method
# File lib/hoal_inflector.rb, line 6
def camelize(basename, _abspath)
  case basename
  when /(ccr_)(.+)/
    "CCR#{super(Regexp.last_match(2), nil)}"
  when 'hoalife'
    'HOALife'
  when /Error/
    'Error'
  else
    super
  end
end