Sha256: f32299d4ae65ddf135986e6a87d7cf308ec654b6a9e2c17a9bdd5d896b175eff
Contents?: true
Size: 188 Bytes
Versions: 34
Compression:
Stored size: 188 Bytes
Contents
class UILabel def to_s(options={}) text = self.text if text && text.length > 20 text = text[0..20] + '...' end super options.merge(inner: {text: text}) end end
Version data entries
34 entries across 34 versions & 1 rubygems