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