Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/swing_helpers.rb
Instance Method Summary collapse
Instance Method Details
#to_filename ⇒ Object
101 102 103 104 105 106 107 |
# File 'lib/swing_helpers.rb', line 101 def to_filename if OS.windows? self.gsub('/', "\\") else self end end |