lib/redis/stream/wrapper.rb
# Returns a copy of the current instance, with the id set.
#
Returns a copy of the current instance, with the id set.
Returns a copy of the current instance with the id set .
def copy_message(message, new_id)
        message.new(
          id: new_id,
          stream: message.stream,
          payload: message.payload
        )
      end
def copy_message ( message , new_id ) message . new ( id : new_id , stream : message . stream , payload : message . payload ) end
Returns a copy of the current instance, with the id set.
Returns a copy of the current instance with the id set .
message
new_id