Skip to content

Commit b453873

Browse files
committed
Triclops::Utils::UriUtils.location_uri_to_file_path method comment update
1 parent f0dad52 commit b453873

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/triclops/utils/uri_utils.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def self.file_path_to_location_uri(path)
1010
"file://#{Addressable::URI.encode(path).gsub('&', '%26').gsub('#', '%23')}"
1111
end
1212

13+
# Converts a file, railsroot, or placeholder URI to a file path
1314
def self.location_uri_to_file_path(location_uri)
1415
parsed_uri = Addressable::URI.parse(location_uri)
1516
uri_scheme = parsed_uri.scheme

0 commit comments

Comments
 (0)