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