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