Sha256: f10da5602657bdd21d5fc182bad8ce7c704c7e7a3b51fca28560769033549ba2
Contents?: true
Size: 239 Bytes
Versions: 2
Compression:
Stored size: 239 Bytes
Contents
module PathOperator def / *others File.join self, *others.map(&:to_s) end end String.class_eval{include PathOperator} Symbol.class_eval{include PathOperator} class Pathname def / *others join *others.map(&:to_s) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elia-1.0.1 | lib/path_operator.rb |
elia-1.0.0 | lib/path_operator.rb |