Sha256: 2f1186ef8d96c47b6a29b2459537b984cb6afde4038b4cc03339d49277c424bc
Contents?: true
Size: 650 Bytes
Versions: 10
Compression:
Stored size: 650 Bytes
Contents
if PurplishFrame.osx? describe "NSScreen" do it "Accessing" do screen = NSScreen.mainScreen screen.left.should.equal screen.frame.origin.x screen.right.should.equal screen.frame.size.width screen.top.should.equal (screen.frame.origin.y+screen.frame.size.height) screen.bottom.should.equal screen.frame.origin.y screen.center_x.should.equal (screen.frame.origin.x+screen.frame.size.width/2) screen.center_y.should.equal (screen.frame.origin.y+screen.frame.size.height/2) screen.width.should.equal screen.frame.size.width screen.height.should.equal screen.frame.size.height end end end
Version data entries
10 entries across 10 versions & 1 rubygems