class Pathname
Provides extensions to the Pathname
class provided by Ruby’s standard Library
Public Instance Methods
/(path)
click to toggle source
Appends a path to this path and expands it
@param [#to_s] path The path to append @return [Pathname] The generated path
# File lib/core_ext/pathname.rb, line 16 def /(path) (self + path).expand_path end