Sha256: f3cab211b7be0ccd5b7e11ced391df788dfc26ccf17260b3b41b20e032a4f0fb
Contents?: true
Size: 921 Bytes
Versions: 2
Compression:
Stored size: 921 Bytes
Contents
# frozen_string_literal: true require_relative "../strings" module Strings module Extensions refine String do def align(*args, **kws) Align.align(self, *args, **kws) end def align_left(*args, **kws) Align.align_left(self, *args, **kws) end def align_center(*args, **kws) Align.align_center(self, *args, **kws) end def align_right(*args, **kws) Align.align_right(self, *args, **kws) end def ansi? ANSI.ansi?(self) end def fold(*args) Fold.fold(self, *args) end def pad(*args, **kws) Pad.pad(self, *args, **kws) end def sanitize ANSI.sanitize(self) end def truncate(*args) Truncate.truncate(self, *args) end def wrap(*args, **kws) Wrap.wrap(self, *args, **kws) end end end # Extensions end # Strings
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
strings-0.2.1 | lib/strings/extensions.rb |
strings-0.2.0 | lib/strings/extensions.rb |