Sha256: d7822c16a707457e3c5e915c478b12b550d0a5381ab961dde8d2d6e9cff533ff

Contents?: true

Size: 664 Bytes

Versions: 5

Compression:

Stored size: 664 Bytes

Contents

require_relative "./font_parser"
module MojoMagick
  module Util
    class Parser
      attr_reader :raw_fonts

      def initialize
        warn "DEPRECATION WARNING: This class has been deprecated and will be removed with"\
             " the next minor version release."\
             "  Please use `MojoMagick::Util::FontParser` instead"
      end

      def parse_fonts(fonts)
        warn "DEPRECATION WARNING: #{__method__} has been deprecated and will be removed with"\
             " the next minor version release."\
             "  Please use `MojoMagick::Util::FontParser#parse` instead"
        FontParser.new(fonts).parse
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mojo_magick-0.6.7 lib/mojo_magick/util/parser.rb
mojo_magick-0.6.6 lib/mojo_magick/util/parser.rb
mojo_magick-0.6.5 lib/mojo_magick/util/parser.rb
mojo_magick-0.6.4 lib/mojo_magick/util/parser.rb
mojo_magick-0.6.3 lib/mojo_magick/util/parser.rb