Rails
Ruby 3.0
6.1
6.0
5.2
5.1
5.0
4.2
2.5.0
2.6.0
2.7.0
instance method RDoc::Text#strip_newlines
strip_newlines(text) -> String
[
permalink
][
rdoc
][
edit
]
引数から先頭と末尾の改行を削除します。
[PARAM] text:
文字列を指定します。