class Eskimo::ASCII::StripRight
Remove whitespace from the end.
StripRight.new { " hello world " } # => " hello world"
Public Instance Methods
render(**)
click to toggle source
Calls superclass method
Eskimo::ASCII::Component#render
# File lib/eskimo/ascii/components/strip_right.rb, line 9 def render(**) super.rstrip end