Sha256: 238b96fb4455de539a34a56db6f141a63a7fe8aca08e9a087a8329f03a49e26a

Contents?: true

Size: 869 Bytes

Versions: 3

Compression:

Stored size: 869 Bytes

Contents

module Magick
  class RVG
    # -
    # Corresponds to SVG's Description.class
    # +
    # This module defines a number of metadata attributes.
    module Describable
      # Sets the object description
      attr_writer desc: interned

      # Sets the object title
      attr_writer title: interned

      # Sets the object metadata
      attr_writer metadata: interned

      # Returns the title of this object. The RVG object title is stored as
      # the 'title' property on the image
      def title: () -> String

      # Returns the description of this object. The RVG object description is
      # stored as the 'desc' property on the image
      def desc: () -> String

      # Returns additional metadata of this object. The RVG object metadata
      # are stored as the 'metadata' property on the image
      def metadata: () -> String
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmagick-6.1.0 sig/rvg/describable.rbs
rmagick-6.0.0 sig/rvg/describable.rbs
rmagick-5.5.0 sig/rvg/describable.rbs