Exception: ASN1::OutOfBytesError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ASN1::OutOfBytesError
- Defined in:
- lib/asn1-pure.rb
Instance Attribute Summary collapse
-
#bytes ⇒ Object
readonly
Returns the value of attribute bytes.
Instance Method Summary collapse
-
#initialize(bytes) ⇒ OutOfBytesError
constructor
A new instance of OutOfBytesError.
- #to_s ⇒ Object
Constructor Details
#initialize(bytes) ⇒ OutOfBytesError
Returns a new instance of OutOfBytesError.
5 6 7 |
# File 'lib/asn1-pure.rb', line 5 def initialize(bytes) @bytes = bytes end |
Instance Attribute Details
#bytes ⇒ Object (readonly)
Returns the value of attribute bytes.
12 13 14 |
# File 'lib/asn1-pure.rb', line 12 def bytes @bytes end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/asn1-pure.rb', line 9 def to_s "Out of bytes to decode: #{@bytes}" end |