method

new

ruby latest stable - Class: Gem::Security::Policy
new(name, policy = {})
public

Create a new Gem::Security::Policy object with the given mode and options.