Sha256: 9f707bfeb44b63f5818ecf302ea4dba409092e3fe412569f91d8623f17726987

Contents?: true

Size: 507 Bytes

Versions: 10

Compression:

Stored size: 507 Bytes

Contents

module Phantom
  module SVG
    module Parser
      # Image writer.
      class AbstractImageWriter
        # Construct AbstractImageWriter object.
        def initialize(path = nil, object = nil)
          write(path, object)
        end

        # Write image file from object to path.
        # Return write size.
        def write(_path, _object)
          fail 'Called abstract method.'
        end
      end # class AbstractImageWriter
    end # module Parser
  end # module SVG
end # module Phantom

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phantom_svg-1.2.1 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.2.0 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.9 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.8 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.6 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.5 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.4 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.3 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.2 lib/phantom/parser/abstract_image_writer.rb
phantom_svg-1.1.1 lib/phantom/parser/abstract_image_writer.rb