Sha256: 26be3ac76f0573a87bc9e95114a4262652ac143f1f1130ca3b0371a45a33e37c

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

class UIView

  def to_s
    "#{self.class.name}(##{self.object_id}, [[#{self.frame.origin.x}, #{self.frame.origin.y}],{#{self.frame.size.width} × #{self.frame.size.height}}], "\
                        "#{self.superview ? ' child of ' + self.superview.class.name + ' #' + self.superview.object_id.to_s : ''})"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sugarcube-0.8 lib/sugarcube/to_s/uiview.rb
sugarcube-0.7.9 lib/sugarcube/to_s/uiview.rb
sugarcube-0.7.7 lib/sugarcube/to_s/uiview.rb
sugarcube-0.7.6 lib/sugarcube/to_s/uiview.rb