Sha256: 745c4bcde15eed04e89b71e93893ea7a859269937732bf4d5e40f72d37675553

Contents?: true

Size: 309 Bytes

Versions: 87

Compression:

Stored size: 309 Bytes

Contents

module Neo4j
  module PropertyContainer
    include Neo4j::PropertyValidator

    # Returns the Neo4j Property of given key
    def [](key)
      get_property(key)
    end

    # Sets the neo4j property
    def []=(key, value)
      validate_property!(value)

      set_property(key, value)
    end
  end
end

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
neo4j-core-5.0.2 lib/neo4j/property_container.rb
neo4j-core-5.0.1 lib/neo4j/property_container.rb
neo4j-core-5.0.0 lib/neo4j/property_container.rb
neo4j-core-5.0.0.rc.4 lib/neo4j/property_container.rb
neo4j-core-5.0.0.rc.3 lib/neo4j/property_container.rb
neo4j-core-5.0.0.rc.2 lib/neo4j/property_container.rb
neo4j-core-5.0.0.rc.1 lib/neo4j/property_container.rb