= private = protected
add_trailing_separator(path)
add_trailing_separator(path) -> path
# File ext/pathname/lib/pathname.rb, line 134 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