Sha256: d0678fb74e55a6bfb3b22d22c6df5ddaa22c7cad7451990ed9aadadeb6c552fa

Contents?: true

Size: 239 Bytes

Versions: 7

Compression:

Stored size: 239 Bytes

Contents

class Prawn::SVG::Elements::Style < Prawn::SVG::Elements::Base
  def parse
    if @document.css_parser
      data = source.texts.map(&:value).join
      @document.css_parser.add_block!(data)
    end

    raise SkipElementQuietly
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
prawn-svg-0.25.2 lib/prawn/svg/elements/style.rb
prawn-svg-0.25.1 lib/prawn/svg/elements/style.rb
prawn-svg-0.25.0 lib/prawn/svg/elements/style.rb
prawn-svg-0.24.0 lib/prawn/svg/elements/style.rb
prawn-svg-0.23.1 lib/prawn/svg/elements/style.rb
prawn-svg-0.23.0 lib/prawn/svg/elements/style.rb
prawn-svg-0.22.1 lib/prawn/svg/elements/style.rb