Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/anise/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#/(other) ⇒ Object

Create new combination string with slash.

Examples:

'foo'/'bar'  #=> 'foo/bar'


43
44
45
# File 'lib/anise/core_ext.rb', line 43

def /(other)
  "#{self}/#{other}"
end