Sha256: 5439ae6f9b54854b20f28953d456d5b14175f195d0509ca527dbb5f17623535b
Contents?: true
Size: 432 Bytes
Versions: 45
Compression:
Stored size: 432 Bytes
Contents
module Neo4j # To support Ruby marshaling module EntityMarshal def marshal_dump marshal_instance_variables.map(&method(:instance_variable_get)) end def marshal_load(array) marshal_instance_variables.zip(array).each do |var, value| instance_variable_set(var, value) end end private def marshal_instance_variables self.class::MARSHAL_INSTANCE_VARIABLES end end end
Version data entries
45 entries across 45 versions & 1 rubygems