# File lib/compass/exec/switch_ui.rb, line 51 def trim_trailing_separator(path) path[-1..-1] == File::SEPARATOR ? path[0..-2] : path end