Class: String
Instance Method Summary collapse
-
#split_lines ⇒ <String>
Splits the string in lines.
-
#string_like? ⇒ Boolean
Overryde of Kernel#string_like?.
Instance Method Details
#split_lines ⇒ <String>
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 |
#string_like? ⇒ Boolean
Overryde of Kernel#string_like?
221 222 223 |
# File 'lib/ruber/utils.rb', line 221 def string_like? true end |