Class: Miniswen::Environment
- Inherits:
-
Object
- Object
- Miniswen::Environment
- Defined in:
- lib/miniswen/environment.rb
Overview
Represents a current runtime environment for an agent (the one where instructions must be executed)
Direct Known Subclasses
Defined Under Namespace
Classes: ExecResult
Instance Method Summary collapse
-
#exec(cmd, timeout: nil, env: nil) ⇒ Object
Execute a shell command.
Instance Method Details
#exec(cmd, timeout: nil, env: nil) ⇒ Object
Execute a shell command
12 |
# File 'lib/miniswen/environment.rb', line 12 def exec(cmd, timeout: nil, env: nil) = raise NotImplementedError |