Class: Symbol
Instance Method Summary collapse
-
#/(o) ⇒ String
Join with o as a file path.
- #try_dup ⇒ Object
Instance Method Details
#/(o) ⇒ String
Join with o as a file path
:merb/"core_ext" #=> "merb/core_ext"
:merb / :core_ext / :string #=> "merb/core_ext/string"
18 19 20 |
# File 'lib/extlib/symbol.rb', line 18 def /(o) File.join(self.to_s, o.to_s) end |
#try_dup ⇒ Object
3 4 5 |
# File 'lib/extlib/symbol.rb', line 3 def try_dup self end |