Sha256: f3fd7a58b2ff0b5280df689bab638e19258e1db8b0f522ca84ab062e58733364
Contents?: true
Size: 466 Bytes
Versions: 1
Compression:
Stored size: 466 Bytes
Contents
class UIView def to_s(options={}) options[:superview] = true if options[:superview].nil? "#{self.class.name}(##{self.object_id.to_s(16)}, #{SugarCube::Adjust::format_frame(self.frame)}" + (options[:inner] ? ', ' + options[:inner] : '') + ')' + (options[:superview] && self.superview ? ", child of #{self.superview.class.name}(##{self.superview.object_id.to_s(16)})" : '') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sugarcube-0.11 | lib/sugarcube/to_s/uiview.rb |