Exception: Cairo::Paper::UnrecognizedPaperDescription

Inherits:
ParseError
  • Object
show all
Defined in:
lib/cairo/paper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (readonly)

Returns the value of attribute description.



23
24
25
# File 'lib/cairo/paper.rb', line 23

def description
  @description
end