Sha256: 6a8c54a6f2faf9f8224c9d96b1cdc77860efee579f6f5b8c02ce92a30b1a8a49
Contents?: true
Size: 424 Bytes
Versions: 28
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true module Cmdlet # Tokenize and apply case and/or separator module Case # Dot: Dot case the characters in the given 'string' class Dot < Cmdlet::BaseCmdlet # # @param [String|Int] value - value - to be converted # @return [String] value converted to dot case def call(value) tokenizer.parse(value, separator: '.') end end end end
Version data entries
28 entries across 28 versions & 1 rubygems