Sha256: 62e53bacebab80968d6ed68f1109e8cb5b0e24114742b53cb14b9765bc986ae0
Contents?: true
Size: 921 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
strings-0.1.8 | lib/strings/extensions.rb |