Commits

Dương Nguyễn committed 9fe23ac Draft

Add expand_path as a method of String

Comments (0)

Files changed (1)

src/espada_fs_utils.rb

   def filename
     get_filename
   end
+
+  def expand_path
+    File.expand_path path
+  end
 end
 
 def expand_path(path)
-  File.expand_path path
+  path.expand_path
 end
 
 def mkdir(path)