class String

Public Instance Methods

stripped_chars() click to toggle source
# File lib/transparent_git/repo.rb, line 9
def stripped_chars
  self.encode("UTF-8", :invalid => :replace, :undef => :replace)
end
to_file_url() click to toggle source
# File lib/transparent_git/ext.rb, line 33
def to_file_url
  res = gsub("\\","/").gsub("c:","/c")
  "file://#{res}"
end