module Magick::RVG::Describable
This module defines a number of metadata attributes.
Attributes
Sets the object description
Sets the object metadata
Sets the object title
Public Class Methods
Source
# File lib/rvg/describable.rb, line 14 def initialize(*args, &block) super @title, @desc, @metadata = nil end
Calls superclass method
Public Instance Methods
Source
# File lib/rvg/describable.rb, line 36 def desc @desc.to_s end
Returns the description of this object. The RVG
object description is stored as the ‘desc’ property on the image
Source
# File lib/rvg/describable.rb, line 42 def metadata @metadata.to_s end
Returns additional metadata of this object. The RVG
object metadata are stored as the ‘metadata’ property on the image