method

remove_tailing_slash

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: FileUtils
remove_tailing_slash(dir) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/fileutils.rb, line 159
  def remove_tailing_slash(dir)
    dir == '/' ? dir : dir.chomp(//)
  end
Register or log in to add new notes.