Sha256: d5c8e9844538df715c40749001282dbf7534da6c9b5c519b080787269c8efae6
Contents?: true
Size: 317 Bytes
Versions: 11
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true # A namespace for utilities classes and modules module HeadMusic::Utilities; end # Util for converting an object to a consistent hash key module HeadMusic::Utilities::HashKey def self.for(identifier) I18n.transliterate(identifier.to_s).downcase.gsub(/\W+/, '_').to_sym end end
Version data entries
11 entries across 11 versions & 1 rubygems