From 632cfd9f6cbe0a4cb53a6ebb86d3e80d8596e6eb Mon Sep 17 00:00:00 2001 From: Ryan Ziegler Date: Sun, 18 Dec 2011 17:24:49 +0800 Subject: [PATCH] continue to make it inheritable --- lib/neography/node_traverser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neography/node_traverser.rb b/lib/neography/node_traverser.rb index 2899a9b..b88e6b8 100644 --- a/lib/neography/node_traverser.rb +++ b/lib/neography/node_traverser.rb @@ -101,7 +101,7 @@ def empty? def each iterator.each do |i| - node = Neography::Node.new(i) + node = @from.class.new(i) node.neo_server = @from.neo_server yield node end