Text.rstrip
Returns a new Text
object with the trailing whitespace removed. The original text is unaltered.
"Hello ".rstrip # => "Hello"
Returns a new Text
object with the trailing whitespace removed. The original text is unaltered.
"Hello ".rstrip # => "Hello"