Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/extensions/file.rb
Class Method Summary collapse
Class Method Details
.native_path(path) ⇒ Object
2 3 4 5 6 |
# File 'lib/extensions/file.rb', line 2 def self.native_path(path) = File.(path) .gsub!('/', '\\') if RUBY_PLATFORM['win32'] end |