module Kernel
Public Instance Methods
Pathname(path)
click to toggle source
Synonym for Pathname.new
# File lib/pathname2.rb, line 1130 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 1118 def pn instance_eval{ Pathname.new(yield) } end