Sha256: 361c073e16b967e311372b13aeb3bc2ceba1d9882d2fafbabfe075687423d07f
Contents?: true
Size: 414 Bytes
Versions: 24
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Handlebarsjs module Helpers # Tokenize and apply case and/or separator module Case # Human: Human case the characters in the given 'string' class Human < Handlebarsjs::BaseHelper register_cmdlet(Cmdlet::Case::Human) def to_proc ->(value, _opts) { wrapper(cmdlet.call(value)) } end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems