Sha256: 8965cb5061de1e2daf85134431fad37f5589c2b287c235a34d9e7a0aa7169a1f
Contents?: true
Size: 453 Bytes
Versions: 28
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true module Cmdlet # Tokenize and apply case and/or separator module Case # Slash: Slash case the characters in the given 'string' class Slash < Cmdlet::BaseCmdlet # # @param [String|Int] value - value - to be converted # @return [String] value converted to slash 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