= private = protected
add_trailing_separator(path)
add_trailing_separator(path) -> path
# File lib/pathname.rb, line 376 def add_trailing_separator(path) if File.basename(path + 'a') == 'a' path else File.join(path, "") # xxx: Is File.join is appropriate to add separator? end end