Sha256: 0eae2a7c6164810c19e31faf20f6e24171ebc182e252bb726f5bf276f2fe8ab0
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 # Snake: Snake case the characters in the given 'string' class Snake < Handlebarsjs::BaseHelper register_cmdlet(Cmdlet::Case::Snake) def to_proc ->(value, _opts) { wrapper(cmdlet.call(value)) } end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems