Class: Sym::App::Commands::Encrypt

Inherits:
BaseCommand show all
Includes:
Sym
Defined in:
lib/sym/app/commands/encrypt.rb

Constant Summary

Constants included from Sym

DESCRIPTION, VERSION

Instance Method Summary collapse

Methods included from Sym

config, default_key, default_key?, default_key_file

Constructor Details

This class inherits a constructor from Sym::App::Commands::BaseCommand

Instance Method Details

#executeObject



14
15
16
# File 'lib/sym/app/commands/encrypt.rb', line 14

def execute
  send(application.action, content, application.key)
end