Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rubinium/string.rb
Instance Method Summary collapse
Instance Method Details
#down_first ⇒ Object
2 |
# File 'lib/rubinium/string.rb', line 2 def down_first; self.gsub(/^(.)/, $1.downcase) if self =~ /^(.)/; end |