Class: Symbol

Inherits:
Object show all
Defined in:
lib/strokedb/core_ext/symbol.rb

Instance Method Summary collapse

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