Exception: AuthorizedKeys::BadKeyError
- Inherits:
-
StandardError
- Object
- StandardError
- AuthorizedKeys::BadKeyError
- Defined in:
- lib/authorized_keys/key.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ BadKeyError
constructor
A new instance of BadKeyError.
Constructor Details
#initialize(key) ⇒ BadKeyError
Returns a new instance of BadKeyError.
7 8 9 10 |
# File 'lib/authorized_keys/key.rb', line 7 def initialize(key) super("Bad key") self.key = key end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
5 6 7 |
# File 'lib/authorized_keys/key.rb', line 5 def key @key end |