Method: Utilrb::PkgConfig#normalize_field_name
- Defined in:
- lib/utilrb/pkgconfig.rb
#normalize_field_name(name) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Normalize a field name to be lowercase with only the first letter capitalized
228 229 230 231 232 |
# File 'lib/utilrb/pkgconfig.rb', line 228 def normalize_field_name(name) name = name.downcase name[0, 1] = name[0, 1].upcase name end |