Method: Ebay::Inflections#downcase_first_character
- Defined in:
- lib/ebay/inflections.rb
#downcase_first_character(string) ⇒ Object
17 18 19 |
# File 'lib/ebay/inflections.rb', line 17 def downcase_first_character(string) string.sub(/^(.)/) { $1.downcase } end |