Class: Helpers::Exec
- Inherits:
-
Object
- Object
- Helpers::Exec
- Defined in:
- lib/spior/helpers.rb
Overview
Execute program using sudo when permission is required
Instance Method Summary collapse
-
#initialize(name) ⇒ Exec
constructor
A new instance of Exec.
- #run(args) ⇒ Object
Constructor Details
#initialize(name) ⇒ Exec
Returns a new instance of Exec.
46 47 48 |
# File 'lib/spior/helpers.rb', line 46 def initialize(name) @name = name end |