Class: String
Instance Method Summary (collapse)
-
- (<String>) split_lines
Splits the string in lines.
-
- (Boolean) string_like?
Overryde of Kernel#string_like?.
Instance Method Details
- (<String>) split_lines
Splits the string in lines.
It’s a shortcut for str.split(“\n”)
212 213 214 |
# File 'lib/ruber/utils.rb', line 212 def split_lines split "\n" end |
- (Boolean) string_like?
Overryde of Kernel#string_like?
221 222 223 |
# File 'lib/ruber/utils.rb', line 221 def string_like? true end |