Sha256: 33495c8c526d8668c16e5d3b7ea987a9f474761fe40db621a5e24a4d4ff03bb5
Contents?: true
Size: 455 Bytes
Versions: 24
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true module Handlebarsjs module Helpers # Inflection handling routines, eg. pluralize, singular, ordinalize module Inflection # Pluralize: Returns the plural form of the word in the string class Pluralize < Handlebarsjs::BaseHelper register_cmdlet(Cmdlet::Inflection::Pluralize) def to_proc ->(value, _opts) { wrapper(cmdlet.call(value)) } end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems