module Tablo::Util
Defined in:
util.crClass Method Summary
- .dot_align(value, dec, mode : DotAlign = DotAlign::DotZero)
-
.stretch(s : String, width : Int32, insert_char : Char, gap : Int32 = 0, left_margin : String = "", right_margin : String = "")
-------------- stretch --------------------------------------------------------
-
.update(dst : NamedTuple, from src : NamedTuple)
Update namedtuple (dst) fields from another namedtuple (src) fields Fields existing in src and missing in dst are ignored Returns the updated dst as a new NamedTuple
Class Method Detail
def self.stretch(s : String, width : Int32, insert_char : Char, gap : Int32 = 0, left_margin : String = "", right_margin : String = "")
#
-------------- stretch --------------------------------------------------------
def self.update(dst : NamedTuple, from src : NamedTuple)
#
Update namedtuple (dst) fields from another namedtuple (src) fields Fields existing in src and missing in dst are ignored Returns the updated dst as a new NamedTuple