# Core SVG data for the trumpet insignia. # # This class should never need to be called directly. # @private class USPSFlags::Core::Trumpet def initialize(type: :s) @color = type == :n ? USPSFlags::Config::BLUE : USPSFlags::Config::RED @count = type == :s ? 1 : 2 end def svg trumpet = <<~SVG SVG if @count == 2 <<~SVG #{trumpet} #{trumpet} SVG else trumpet end end end