Sha256: 4c0446aed891c8b38d7c9eac5e8a03fced24d629c7ef59daf214ede5f3b6795d
Contents?: true
Size: 435 Bytes
Versions: 19
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module Loofah module MetaHelpers # :nodoc: class << self def add_downcased_set_members_to_all_set_constants(mojule) mojule.constants.each do |constant_sym| constant = mojule.const_get(constant_sym) next unless Set === constant constant.dup.each do |member| constant.add(member.downcase) end end end end end end
Version data entries
19 entries across 18 versions & 7 rubygems