Class: Dotcrypt::Cli::Commands::Exec::Handler
- Inherits:
-
Object
- Object
- Dotcrypt::Cli::Commands::Exec::Handler
- Defined in:
- lib/dotcrypt/CLI/commands/exec.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(command, **options) ⇒ Handler
constructor
A new instance of Handler.
Constructor Details
#initialize(command, **options) ⇒ Handler
Returns a new instance of Handler.
15 16 17 18 |
# File 'lib/dotcrypt/CLI/commands/exec.rb', line 15 def initialize(command, **) @command = command @options = end |
Instance Method Details
#call ⇒ Object
20 21 22 |
# File 'lib/dotcrypt/CLI/commands/exec.rb', line 20 def call exec(env, *@command) end |