class String
Public Instance Methods
Source
# File lib/sys/windows/sys/filesystem/helper.rb, line 4 def wincode (tr(File::SEPARATOR, File::ALT_SEPARATOR) + 0.chr).encode('UTF-16LE') end
Convenience method for converting strings to UTF-16LE for wide character functions that require it.