Sha256: a196cd018eed7c94c5d3cdfd210caf58f71ccbab53128de48e51e006a7b11b36

Contents?: true

Size: 236 Bytes

Versions: 10

Compression:

Stored size: 236 Bytes

Contents

class UIView

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

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sugarcube-0.9.3 lib/sugarcube/to_s/uiview.rb
sugarcube-0.9.2 lib/sugarcube/to_s/uiview.rb
sugarcube-0.9.1 lib/sugarcube/to_s/uiview.rb
sugarcube-0.9 lib/sugarcube/to_s/uiview.rb
sugarcube-0.8.7 lib/sugarcube/to_s/uiview.rb
sugarcube-0.8.6 lib/sugarcube/to_s/uiview.rb
sugarcube-0.8.5 lib/sugarcube/to_s/uiview.rb
sugarcube-0.8.4 lib/sugarcube/to_s/uiview.rb
sugarcube-0.8.3 lib/sugarcube/to_s/uiview.rb
sugarcube-0.8.2 lib/sugarcube/to_s/uiview.rb