lib/aerospike/client.rb
def touch(key, options = nil)
      policy = create_policy(options, WritePolicy, default_write_policy)
      command = TouchCommand.new(@cluster, policy, key)
      execute_command(command)
    end
def touch(key, options = nil)
      policy = create_policy(options, WritePolicy, default_write_policy)
      command = TouchCommand.new(@cluster, policy, key)
      execute_command(command)
    end
-------------------------------------------------------
 Touch Operations
-------------------------------------------------------

  Creates record if it does not already exist.  If the record exists,
  the record's time to expiration will be reset to the policy's expiration.

  If no policy options are provided, +@default_write_policy+ will be used.
  Examples:

  client.touch key, :timeout => 0.001