Class: Hiiro::Effects::Executor
- Inherits:
-
Object
- Object
- Hiiro::Effects::Executor
- Defined in:
- lib/hiiro/effects.rb
Overview
Real implementation — delegates to the OS
Instance Method Summary collapse
Instance Method Details
#capture(*args) ⇒ Object
8 |
# File 'lib/hiiro/effects.rb', line 8 def capture(*args) = `#{args.shelljoin} 2>/dev/null` |
#check(*args) ⇒ Object
10 |
# File 'lib/hiiro/effects.rb', line 10 def check(*args) = system(*args, out: File::NULL, err: File::NULL) |
#run(*args) ⇒ Object
9 |
# File 'lib/hiiro/effects.rb', line 9 def run(*args) = system(*args) |