class String

Public Instance Methods

posix_path() click to toggle source
# File lib/tunny/string.rb, line 10
def posix_path
  gsub "\\", "/"
end
quote() click to toggle source
# File lib/tunny/string.rb, line 2
def quote
  "\"#{self}\""
end
windows_path() click to toggle source
# File lib/tunny/string.rb, line 6
def windows_path
  gsub "/", "\\"
end