lib/neo4j/node_relationship.rb in neo4j-1.0.0.beta.15 vs lib/neo4j/node_relationship.rb in neo4j-1.0.0.beta.16

- old
+ new

@@ -109,10 +109,10 @@ def _rel(dir, type) get_single_relationship(type_to_java(type), dir_to_java(dir)) end # Returns the raw java neo4j relationship object. - def rels_raw(dir=:both, *types) + def _rels(dir=:both, *types) if types.size > 1 java_types = types.inject([]) { |result, type| result << type_to_java(type) }.to_java(:'org.neo4j.graphdb.RelationshipType') get_relationships(java_types) elsif types.size == 1 get_relationships(type_to_java(types[0], dir_to_java(dir)))