Sha256: fe23371b41645312586edbd8a60a802482ddad41152e0af977c581c7bb453b6c
Contents?: true
Size: 368 Bytes
Versions: 176
Compression:
Stored size: 368 Bytes
Contents
module GovukPublishingComponents module Presenters class EmergencyBannerHelper EMERGENCY_TYPES = %w[notable-death national-emergency local-emergency].freeze def initialize; end def emergency_types EMERGENCY_TYPES end def is_a_valid_emergency_type?(type) EMERGENCY_TYPES.include?(type) end end end end
Version data entries
176 entries across 176 versions & 1 rubygems