Skip to content
Browse files

Removed reference to graph when path_or_graph is not a String.

  • Loading branch information...
1 parent f571dfa commit fdb427ee026341a7858e6f3e6624556339732ecb @billkoch committed Sep 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/pacer-neo4j/graph.rb
View
2 lib/pacer-neo4j/graph.rb
@@ -41,7 +41,7 @@ def neo4j(path_or_graph, args = nil)
PacerGraph.new(Pacer::YamlEncoder, open, shutdown)
else
# Don't register the new graph so that it won't be automatically closed.
- PacerGraph.new Pacer::YamlEncoder, proc { graph.neo.new(path_or_graph) }
+ PacerGraph.new Pacer::YamlEncoder, proc { neo.new(path_or_graph) }
end
end
end

0 comments on commit fdb427e

Please sign in to comment.
Something went wrong with that request. Please try again.