Class: Pathname

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

Overview

Namespace for Leopard and related helper extensions.

Instance Method Summary collapse

Instance Method Details

#/(other) ⇒ Pathname

Joins the receiver with another path fragment.

Parameters:

  • other (#to_s)

    The path fragment to append.

Returns:



16
17
18
# File 'lib/leopard.rb', line 16

def /(other)
  join other.to_s
end