module Prawn::SVG::Attributes::Space

Public Instance Methods

parse_xml_space_attribute() click to toggle source
# File lib/prawn/svg/attributes/space.rb, line 2
def parse_xml_space_attribute
  case attributes['xml:space']
  when 'preserve'
    state.preserve_space = true
  when 'default'
    state.preserve_space = false
  end
end