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