Method: TaliaUtil::IoHelper#file_url

Defined in:
lib/talia_util/io_helper.rb

#file_url(uri) ⇒ Object

Get the “file url” for the given url, stripping a possible file:// from the front



69
70
71
# File 'lib/talia_util/io_helper.rb', line 69

def file_url(uri)
  uri.gsub(/\Afile:\/\//, '')
end