Class: Symbol
Instance Method Summary collapse
-
#/(o) ⇒ Object
Parameters o<String>:: The path component to join with the symbol.
Instance Method Details
#/(o) ⇒ Object
Parameters
- o<String>
-
The path component to join with the symbol.
Returns
- String
-
The original path concatenated with o.
Examples
:lib / :core_ext #=> "lib/core_ext"
10 11 12 |
# File 'lib/strokedb/core_ext/symbol.rb', line 10 def /(o) File.join(self.to_s, o.to_s) end |