Sha256: 75d9312b2f8379865b7e83f950172170d655582f6fd579e74bcb922e8b3abd02
Contents?: true
Size: 392 Bytes
Versions: 25
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true module Mihari module Concerns # # Refangable concern # module Refangable extend ActiveSupport::Concern # # Refang defanged indicator # # @param [String] indicator # # @return [String] # def refang(indicator) indicator.gsub("[.]", ".").gsub("(.)", ".") end end end end
Version data entries
25 entries across 25 versions & 1 rubygems