Exception: Pdfrb::UnsupportedVersionError
- Defined in:
- lib/pdfrb/error.rb
Overview
PDF version requested or detected is not supported by Pdfrb.
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(message, version: nil) ⇒ UnsupportedVersionError
constructor
A new instance of UnsupportedVersionError.
Constructor Details
#initialize(message, version: nil) ⇒ UnsupportedVersionError
Returns a new instance of UnsupportedVersionError.
63 64 65 66 |
# File 'lib/pdfrb/error.rb', line 63 def initialize(, version: nil) @version = version super() end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
61 62 63 |
# File 'lib/pdfrb/error.rb', line 61 def version @version end |