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