method

new

ruby latest stable - Class: Gem::Security::TrustDir
new(dir, permissions = DEFAULT_PERMISSIONS)
public

Creates a new TrustDir using dir where the directory and file permissions will be checked according to permissions