method
capitalize
capitalize(name)
private
Hide source
# File lib/net/http.rb, line 1589 def capitalize(name) name.split(/-/).map {|s| s.capitalize }.join('-') end