Exception: Cairo::Paper::UnrecognizedPaperDescription
- Inherits:
-
ParseError
- Object
- ArgumentError
- ParseError
- Cairo::Paper::UnrecognizedPaperDescription
- Defined in:
- lib/cairo/paper.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Instance Method Summary collapse
-
#initialize(description) ⇒ UnrecognizedPaperDescription
constructor
A new instance of UnrecognizedPaperDescription.
Constructor Details
#initialize(description) ⇒ UnrecognizedPaperDescription
Returns a new instance of UnrecognizedPaperDescription.
24 25 26 27 |
# File 'lib/cairo/paper.rb', line 24 def initialize(description) @description = description super("unrecognized paper description: #{description.inspect}") end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
23 24 25 |
# File 'lib/cairo/paper.rb', line 23 def description @description end |