Sha256: d1184bd59db5c33b99ff0ebd2fc24ef05e8fc3f903bc37fed2c662455fc6343e
Contents?: true
Size: 451 Bytes
Versions: 16
Compression:
Stored size: 451 Bytes
Contents
module Neo4j module Core module Wrapper module ClassMethods # Tries to load a wrapper for this node if possible # @see #wrapper_proc= def wrapper(entity) @_wrapper_proc ? @_wrapper_proc.call(entity) : entity end # Sets the procs to be used to load wrappers # @see #wrapper def wrapper_proc=(proc) @_wrapper_proc = proc end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems