Sha256: f7ba7b7495dac8fda4bf851d5f5ed96b5d54e28f5e712169853affc82753b508
Contents?: true
Size: 361 Bytes
Versions: 54
Compression:
Stored size: 361 Bytes
Contents
module Loofah module MetaHelpers # :nodoc: def self.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
Version data entries
54 entries across 47 versions & 12 rubygems