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