lib/aerospike/client.rb
def register_udf_from_file(client_path, server_path, language, options = nil)
      udf_body = File.read(client_path)
      register_udf(udf_body, server_path, language, options)
    end
def register_udf_from_file(client_path, server_path, language, options = nil)
      udf_body = File.read(client_path)
      register_udf(udf_body, server_path, language, options)
    end
---------------------------------------------------------------
 User defined functions (Supported by Aerospike 3 servers only)
---------------------------------------------------------------
  Register package containing user defined functions with server.
  This asynchronous server call will return before command is complete.
  The user can optionally wait for command completion by using the returned
  RegisterTask instance.

  This method is only supported by Aerospike 3 servers.