Method: Walky::InstanceMethods#same_path
- Defined in:
- lib/walky/instance_methods.rb
#same_path(*other) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/walky/instance_methods.rb', line 5 def same_path(*other) [].tap do | ary | ary << self other.each do |o| ary << Walker.parse(o, @walky_path) end ary.extend WalkMethods end end |