Sha256: f7dc8a3bbd33f044e6f63c4cb1ee70ebbb4194e24a9c8427646cda66b38dbdf3
Contents?: true
Size: 258 Bytes
Versions: 23
Compression:
Stored size: 258 Bytes
Contents
# frozen_string_literals: true module Lumberjack class Formatter # Format an object by calling `to_s` on it and stripping leading and trailing whitespace. class StripFormatter def call(obj) obj.to_s.strip end end end end
Version data entries
23 entries across 23 versions & 4 rubygems