Method: Stringex::Localization::Converter#smart_strip!
- Defined in:
- lib/stringex/localization/converter.rb
#smart_strip! ⇒ Object
43 44 45 46 |
# File 'lib/stringex/localization/converter.rb', line 43 def smart_strip! string.strip! @string = "#{starting_whitespace}#{string}#{ending_whitespace}" end |