Sha256: 63bd7e387995dd79c30c71fcb3d95209d3c35a86cdde92d1d1d32c27186d5b79
Contents?: true
Size: 533 Bytes
Versions: 21
Compression:
Stored size: 533 Bytes
Contents
# Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. class String # A convenient way to do File.join # Usage: # 'a' / 'b' # => 'a/b' def / obj Ramaze.deprecated('String#/', 'File::join') File.join(self, obj.to_s) end end class Symbol # A convenient way to do File.join # Usage: # :dir/:file # => 'dir/file' def / obj Ramaze.deprecated('Symbol#/', 'File::join(sym.to_s)') self.to_s / obj end end
Version data entries
21 entries across 21 versions & 4 rubygems