Method: Path.new
- Defined in:
- lib/path/identity.rb
.new(*args) ⇒ Object Also known as: []
Creates a new Path. See #initialize.
6 7 8 9 10 11 12 |
# File 'lib/path/identity.rb', line 6 def new(*args) if args.size == 1 and Path === args.first args.first else super(*args) end end |