Sha256: dd8e259f48295b883a8c64fadd139c4a6b8c2f64655cf31542088f94d8de4612
Contents?: true
Size: 199 Bytes
Versions: 71
Compression:
Stored size: 199 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.inspect) end end
Version data entries
71 entries across 71 versions & 1 rubygems