class Hoe

def self.normalize_names project # :nodoc:

:nodoc:
def self.normalize_names project # :nodoc:
  project   = project.gsub(/([A-Z])/, '_\1').downcase.sub(/^_/, '')
  klass     = project.gsub(/(?:^|_)([a-z])/) { $1.upcase }
  klass     = klass.  gsub(/(?:^|-)([a-z])/) { "::#{$1.upcase}" }
  file_name = project.gsub(/-/, '/')
  return project, file_name, klass
end