method

remove_trailing_slash

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: FileUtils
remove_trailing_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 149
  def remove_trailing_slash(dir)   #:nodoc:
    dir == '/' ? dir : dir.chomp(//)
  end
Register or log in to add new notes.