method

capitalize

Importance_0
v1_8_7_72 - Show latest stable - 0 notes - Class: XSD::CodeGen::GenSupport
capitalize(target) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/xsd/codegen/gensupport.rb, line 58
  def capitalize(target)
    target.sub(/^([a-z])/) { $1.tr!('[a-z]', '[A-Z]') }
  end
Register or log in to add new notes.