Method: Logue::PathUtil.trim_right
- Defined in:
- lib/logue/pathutil.rb
.trim_right(str, maxlen) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/logue/pathutil.rb', line 11 def trim_right str, maxlen if str.length > maxlen trim_path_right str, maxlen else str end end |