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