You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: record.rb
    path of file: ./repos/activegraph/lib/active_graph/core
    
    the code of the file until where you have to start completion: module ActiveGraph
  module Core
    module Record
      attr_writer :wrap

      def values
        wrap(super)
     
    
      def wrap(value)
        return value unless wrap?

        case value
        when Neo4j::Driver::Types::Entity
          value.wrap
        when Neo4j::Driver::Types::Path
          value
        when Hash
          value.transform_values(&method(:wrap))
        when Enumerable
          value.map!(&method(:wrap))
        else
          value
        end