method
remove_trailing_slash
remove_trailing_slash(dir)
public
Hide source
# File lib/fileutils.rb, line 149 def remove_trailing_slash(dir) #:nodoc: dir == '/' ? dir : dir.chomp(//) end