Exception: Cairo::Paper::UnknownPaperName
- Inherits:
-
ParseError
- Object
- ArgumentError
- ParseError
- Cairo::Paper::UnknownPaperName
- Defined in:
- lib/cairo/paper.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ UnknownPaperName
constructor
A new instance of UnknownPaperName.
Constructor Details
#initialize(name) ⇒ UnknownPaperName
Returns a new instance of UnknownPaperName.
8 9 10 11 |
# File 'lib/cairo/paper.rb', line 8 def initialize(name) @name = name super("unknown paper name: #{name}") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/cairo/paper.rb', line 7 def name @name end |