Class: Dotcrypt::Cli::Commands::Exec::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/dotcrypt/CLI/commands/exec.rb

Instance Method Summary collapse

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, **options)
  @command = command
  @options = options
end

Instance Method Details

#callObject



20
21
22
# File 'lib/dotcrypt/CLI/commands/exec.rb', line 20

def call
  exec(env, *@command)
end