Sha256: 5b9f754e67c1904e192b3744d0aaa934df2e6232145d627729162be1e00e5bde
Contents?: true
Size: 337 Bytes
Versions: 7
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true module Prawn module SVG class Interface def resize opts = {} sizing = document.sizing sizing.requested_width = opts[:width] sizing.requested_height = opts[:height] sizing.calculate end end end end unless Prawn::SVG::Interface.method_defined? :resize
Version data entries
7 entries across 7 versions & 1 rubygems