class Neo4j::Rails::Versioning::Snapshot

Public Instance Methods

[](key) click to toggle source
# File lib/neo4j/rails/versioning/versioning.rb, line 53
def [](key)
  return @converted_properties[key] if @converted_properties
  super(key)
end
assign(key,value) click to toggle source
# File lib/neo4j/rails/versioning/versioning.rb, line 48
def assign(key,value)
  @converted_properties = {} if @converted_properties.nil?
  @converted_properties[key.to_sym] = value
end
incoming(rel_type) click to toggle source
# File lib/neo4j/rails/versioning/versioning.rb, line 58
def incoming(rel_type)
  super "version_#{rel_type.to_s}".to_sym
end
outgoing(rel_type) click to toggle source
# File lib/neo4j/rails/versioning/versioning.rb, line 62
def outgoing(rel_type)
  super "version_#{rel_type.to_s}".to_sym
end