Class: Symbol
Instance Method Summary collapse
-
#/(obj) ⇒ Object
A convenient way to do File.join Usage: :dir/:file # => ‘dir/file’.
Instance Method Details
#/(obj) ⇒ Object
A convenient way to do File.join Usage:
:dir/:file # => 'dir/file'
18 19 20 21 |
# File 'lib/ramaze/snippets/divide.rb', line 18 def / obj Ramaze.deprecated('Symbol#/', 'File::join(sym.to_s)') self.to_s / obj end |