module Kernel
Public Instance Methods
Pathname(path)
click to toggle source
Synonym for Pathname.new
# File lib/pathname2.rb, line 1137 def Pathname(path) Pathname.new(path) end
pn() { || ... }
click to toggle source
Usage: pn{ path }
A shortcut for Pathname.new
# File lib/pathname2.rb, line 1123 def pn instance_eval{ Pathname.new(yield) } end