lib/neo4j/shared/typecasted_attributes.rb:73
Calculates an attribute type
def _attribute_type(attribute_name) attributes[attribute_name].type || Object end
Returns the class name plus its attribute names and types
def inspect inspected_attributes = attribute_names.sort.map { |name| "#{name}: #{_attribute_type(name)}" } attributes_list = "(#{inspected_attributes.join(', ')})" unless inspected_attributes.empty? "#{name}#{attributes_list}" end
#typecast_attribute
def typecast_attribute(typecaster, value) Neo4j::Shared::TypeConverters.typecast_attribute(typecaster, value) end