# Core SVG data for the USPS Ensign. # # This class should never need to be called directly. # @private class USPSFlags::Core::Ensign def svg field = <<~SVG SVG # anchor = USPSFlags::Core::Anchor.new(color: :white).svg star_circle = "" (0..13).each do |i| rotation = i * (360.0 / 13) star_circle << <<~SVG #{USPSFlags::Core::Star.new.svg} SVG end <<~SVG #{field} #{anchor} #{star_circle} SVG end end