Sha256: bdea391a8ad433415e79adae1a93ce037d79f5c6411b6f326e69b95e181a82c8
Contents?: true
Size: 398 Bytes
Versions: 10
Compression:
Stored size: 398 Bytes
Contents
require 'facets/string/op_div' class Symbol # Join with _path_ as a file path. # # * path - The path component(s) to append. [#to_s] # # Examples # # (:merb / "string") #=> "merb/string" # (:merb / :symbol) #=> "merb/symbol" # # Returns String of the receiver (as a path string), concatenated # with _path_. def /(path) File.join(to_s, path.to_s) end end
Version data entries
10 entries across 9 versions & 2 rubygems