Method: Windows::FileSystem#windows_path

Defined in:
lib/microstation/app.rb

#windows_path(path) ⇒ Object

Convert path to windows path

Parameters:

  • path (String, Pathname)

    the path you want to convert



24
25
26
27
# File 'lib/microstation/app.rb', line 24

def windows_path(path)
  path = path.to_path if path.respond_to? :to_path
  fs_object.GetAbsolutePathName(path.to_str)
end