Exception: GitSSHWrapper::PrivateKeyRequired
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- GitSSHWrapper::PrivateKeyRequired
- Defined in:
- lib/git-ssh-wrapper.rb
Instance Method Summary collapse
-
#initialize ⇒ PrivateKeyRequired
constructor
A new instance of PrivateKeyRequired.
Constructor Details
#initialize ⇒ PrivateKeyRequired
Returns a new instance of PrivateKeyRequired.
7 8 9 |
# File 'lib/git-ssh-wrapper.rb', line 7 def initialize super "You must specify either :private_key_path (path to ssh private key) or :private_key (string of ssh private key)." end |