def _dashCapitalize(name):
 return '-'.join([word.capitalize() for word in name.split('-')])

def _dashCapitalize ( name ) : return '-' . join ( [ word . capitalize ( ) for word in name . split ( '-' ) ] )
return a string which is capitalized using - as a word separator .