Class: File
Class Method Summary collapse
-
.join(*args) ⇒ Object
Join now works like it should! It calls .to_s on each of the args pass in.
Class Method Details
.join(*args) ⇒ Object
Join now works like it should! It calls .to_s on each of the args pass in. It handles nested Arrays, etc…
9 10 11 12 |
# File 'lib/mack-facets/extensions/file.rb', line 9 def join(*args) fs = [args].flatten _original_join(fs.collect{|c| c.to_s}) end |