# frozen_string_literal: false # Core SVG data for the anchor insignia. # # This class should never need to be called directly. # @private class USPSFlags::Core::Icons::Anchor def initialize(color: :red) @color_code = case color when :red USPSFlags::Config::RED when :white '#FFFFFF' end end def svg <<~SVG SVG end end