Sha256: 11a6bd7f2f7eb5435718b06a102191096be6eaad177989efaddc9ccb9c73b727
Contents?: true
Size: 440 Bytes
Versions: 28
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module Cmdlet # Tokenize and apply case and/or separator module Case # BackSlash: Convert to back slash notation class BackSlash < Cmdlet::BaseCmdlet # # @param [String|Int] value - value - to be converted # @return [String] value converted to back_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