Sha256: f9bad2c0b89f6c31da3b4bfe513d4fed6cfa0a5b0c2e992435811521fb275028
Contents?: true
Size: 368 Bytes
Versions: 6
Compression:
Stored size: 368 Bytes
Contents
class Symbol # Syntactic sugar for using File.join to concatenate the argument to the receiver. # # require :lib / :utilities / :string # # The idea is not original, but we can't remember where we first saw it. # Waves::Ext::Symbol defines the same method, allowing for :files / 'afilename.txt' def / ( s ) ; File.join( self.to_s, s.to_s ) ; end end
Version data entries
6 entries across 6 versions & 4 rubygems