Sha256: 8b68c8079e3b728eaf387be48070672dc60a8ab3f43ab4401a9ac57a332ee40e
Contents?: true
Size: 521 Bytes
Versions: 13
Compression:
Stored size: 521 Bytes
Contents
# frozen_string_literal: true # # Copyright (c) 2019-present, Blue Marble Payroll, LLC # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # module Dbee module Providers class ActiveRecordProvider # This class can be used when readable alias names are expected. class SafeAliasMaker def make(*parts) parts.flatten .join('_') .tr('.', '_') end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems