Sha256: afb9aae34ec5c4143e7199ba8f4db2e78431fefe59b7beff49f38fd1cbbdb039
Contents?: true
Size: 330 Bytes
Versions: 10
Compression:
Stored size: 330 Bytes
Contents
#-- # Credit goes to Paul Brannan <paul_at_atdesk.com> #++ class String # Allow easy manipulation of path strings. # # require 'facet/string/slash' # # prefix = '/usr' / 'local' #=> "/usr/local" # prefix / 'bin' #=> "/usr/local/bin" # def /(other) #:infix: File.join(self, other) end end
Version data entries
10 entries across 10 versions & 1 rubygems