Class: String

Inherits:
Object show all
Defined in:
lib/bones/extensions.rb

Instance Method Summary collapse

Instance Method Details

#/(other) ⇒ Object

Join strings using / (i.e. “system” / “pages” -> “system/pages”)



4
5
6
# File 'lib/bones/extensions.rb', line 4

def /(other)
  File.join(self, other)
end