Module: Kernel
- Defined in:
- lib/pathname3.rb
Instance Method Summary collapse
-
#Pathname(path) ⇒ Object
Allows construction of a Pathname by using the class name as a method.
Instance Method Details
#Pathname(path) ⇒ Object
Allows construction of a Pathname by using the class name as a method.
This really ought to be deprecated due to String#to_path.
570 571 572 |
# File 'lib/pathname3.rb', line 570 def Pathname(path) Pathname.new(path) end |