Class: AgentJail::Restrictions::Base
- Inherits:
-
Object
- Object
- AgentJail::Restrictions::Base
- Defined in:
- lib/agent_jail/restrictions/base.rb
Overview
Base interface for all restriction strategies. Each subclass implements #apply which is called in the child process before the sandboxed block runs.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#apply ⇒ Object
9 10 11 |
# File 'lib/agent_jail/restrictions/base.rb', line 9 def apply raise NotImplementedError, "#{self.class}#apply not implemented" end |