Class: Evm::System
- Inherits:
-
Object
- Object
- Evm::System
- Defined in:
- lib/evm/system.rb
Instance Method Summary collapse
-
#initialize(executable) ⇒ System
constructor
A new instance of System.
- #run(*args) ⇒ Object
Constructor Details
#initialize(executable) ⇒ System
3 4 5 |
# File 'lib/evm/system.rb', line 3 def initialize(executable) @executable = executable end |
Instance Method Details
#run(*args) ⇒ Object
7 8 9 |
# File 'lib/evm/system.rb', line 7 def run(*args) Kernel.system(@executable, *args) end |