Class: Fi::Path
- Inherits:
-
Object
- Object
- Fi::Path
- Defined in:
- lib/fi/path.rb
Class Method Summary collapse
Class Method Details
.expand(*path) ⇒ Object
3 4 5 |
# File 'lib/fi/path.rb', line 3 def self.(*path) File. File.join(*path) end |
.join(*paths) ⇒ Object
7 8 9 |
# File 'lib/fi/path.rb', line 7 def self.join(*paths) File.join *paths end |
.split(path) ⇒ Object
11 12 13 |
# File 'lib/fi/path.rb', line 11 def self.split(path) path.split '/' end |