Class: Pathname
- Inherits:
-
Object
- Object
- Pathname
- Defined in:
- lib/linear.rb
Overview
Add the / operator for path separation
Instance Method Summary collapse
Instance Method Details
#/(other) ⇒ Object
10 11 12 |
# File 'lib/linear.rb', line 10 def /(other) join(other.to_s) end |