Sha256: 7969af76e84ea7ff8e6d748cce0c29268703c20eabd40e0e94c73f2b7fffcb61
Contents?: true
Size: 425 Bytes
Versions: 11
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true module Handlebarsjs module Helpers # String manipulation module Str # Padl: take the value and give it padding on the left hand side class Padl < Handlebarsjs::BaseHelper register_cmdlet(Cmdlet::Str::Padl) def to_proc ->(value, count = nil, char = nil, _opts) { wrapper(cmdlet.call(value, count, char)) } end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems