enum

Smith::Sandbox::Network

Inherits Enum < Comparable < Value < Object

What a sandboxed command may do with the network.

Allow is the default, and it is a considered one: deny network* also stops git fetch, git push and every package manager, and a sandbox that breaks the working day is a sandbox the user switches off — losing the filesystem confinement along with it.

Constants

Allow = 0
Deny = 1
Ports = 2

Instance methods

allow?

Returns true if this enum value equals Allow

Source
deny?

Returns true if this enum value equals Deny

Source
ports?

Returns true if this enum value equals Ports

Source