Sha256: c66ea7efba0d3d2de88ddd8537c418242dbc2891085db42d5f7030135b7bd9ae

Contents?: true

Size: 270 Bytes

Versions: 2

Compression:

Stored size: 270 Bytes

Contents

class UIView

  def to_s
    "#{self.class.name}(##{self.object_id.to_s(16)}, #{SugarCube::Adjust::format_frame(self.frame)})" +
                        (self.superview ? ",  child of #{self.superview.class.name}(##{self.superview.object_id.to_s(16)})" : '')
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sugarcube-0.10 lib/sugarcube/to_s/uiview.rb
sugarcube-0.9.4 lib/sugarcube/to_s/uiview.rb