Skip to content

Latest commit

 

History

History
115 lines (49 loc) · 1.67 KB

IdProperty.rst

File metadata and controls

115 lines (49 loc) · 1.67 KB

IdProperty

This module makes it possible to use other IDs than the build it neo4j id (neo_id)

IdProperty/TypeMethods

IdProperty/ClassMethods

IdProperty/Accessor

Constants

Files

Methods

#default_properties

ruby

def default_properties

@default_properties ||= Hash.new(nil)

end

#default_properties=

ruby

def default_properties=(properties)

@default_property_value = properties[default_property_key]

end

#default_property

ruby

def default_property(key)

return nil unless key == default_property_key default_property_value

end

#default_property_key

ruby

def default_property_key

self.class.default_property_key

end

#default_property_value

Returns the value of attribute default_property_value

ruby

def default_property_value

@default_property_value

end