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