Class: Sym::App::Commands::PrintKey
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Sym::App::Commands::PrintKey
- Defined in:
- lib/sym/app/commands/print_key.rb
Constant Summary
Constants included from Sym
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
#execute ⇒ Object
12 13 14 15 |
# File 'lib/sym/app/commands/print_key.rb', line 12 def execute raise Sym::Errors::NoPrivateKeyFound.new("Unable to resolve private key from argument '#{opts[:key]}'") if self.key.nil? self.key end |