Class: String
- Inherits:
-
Object
- Object
- String
Overview
The String class contains a method used to parse a string as a length value. All string arguments in Ruby API expect utf-8 strings.
Instance Method Summary # collapse
-
#to_l ⇒ Length
The to_l method is used to convert a string to a length.