Sha256: b1794630f6ab3549a9077449b66c94b49057c1d36784683439bbe7ec4a79516d

Contents?: true

Size: 324 Bytes

Versions: 7

Compression:

Stored size: 324 Bytes

Contents

module Neo4j
  module Core
    # Can be used to define your own wrapper class around nodes and relationships
    module Wrapper

      # @return [self, Object] return self or a wrapper Ruby object
      # @see  Neo4j::Node::ClassMethods#wrapper
      def wrapper
        self.class.wrapper(self)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
neo4j-core-0.0.9-java lib/neo4j-core/wrapper/wrapper.rb
neo4j-core-0.0.8-java lib/neo4j-core/wrapper/wrapper.rb
neo4j-core-0.0.7-java lib/neo4j-core/wrapper/wrapper.rb
neo4j-core-0.0.6-java lib/neo4j-core/wrapper/wrapper.rb
neo4j-core-0.0.5-java lib/neo4j-core/wrapper/wrapper.rb
neo4j-core-0.0.4-java lib/neo4j-core/wrapper/wrapper.rb
neo4j-core-0.0.3-java lib/neo4j-core/wrapper/wrapper.rb