Sha256: 3a2b1a1b0a7204adf57752b9ecc2fab300857cf3eed7f21d1b00856695f7b71e
Contents?: true
Size: 363 Bytes
Versions: 7
Compression:
Stored size: 363 Bytes
Contents
# frozen_string_literal: true module IsThisUsed class Registry include Singleton attr_accessor :potential_crufts def initialize @potential_crufts = [] end def <<(potential_cruft) potential_crufts << potential_cruft end def include?(potential_cruft) potential_crufts.include?(potential_cruft) end end end
Version data entries
7 entries across 7 versions & 1 rubygems