Module: Neo4j::ActiveNode::Property
- Extended by:
- ActiveSupport::Concern
- Includes:
- Shared::Property
- Included in:
- Neo4j::ActiveNode
- Defined in:
- lib/neo4j/active_node/property.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary
Constants included from Shared::Attributes
Shared::Attributes::DEPRECATED_OBJECT_METHODS
Instance Attribute Summary
Attributes included from Shared::Property
Instance Method Summary collapse
Methods included from Shared::Property
#inject_defaults!, #inspect, #mutations_from_database, #read_attribute, #reload_properties!, #send_props, #undeclared_properties=
Methods included from Shared::TypecastedAttributes
Methods included from Shared::Attributes
#==, #attributes, #query_attribute, #write_attribute
Methods included from Shared::MassAssignment
#add_undeclared_property, #assign_attributes, #attributes=
Instance Method Details
#initialize(attributes = nil) ⇒ Object
6 7 8 9 |
# File 'lib/neo4j/active_node/property.rb', line 6 def initialize(attributes = nil) super(attributes) @attributes ||= Hash[self.class.attributes_nil_hash] end |