Method: String#to_wide_string
- Defined in:
- lib/win32/process/helper.rb
#to_wide_string ⇒ Object
Convert a regular string to a wide character string. This does not modify the receiver.
4 5 6 |
# File 'lib/win32/process/helper.rb', line 4 def to_wide_string (self + 0.chr).encode('UTF-16LE') end |