File: t14.rb

package info (click to toggle)
qtruby 4%3A4.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,564 kB
  • sloc: ruby: 24,603; cpp: 23,004; makefile: 63; sh: 8
file content (11 lines) | stat: -rwxr-xr-x 216 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)

require 'Qt4'
require 'gamebrd.rb'

app = Qt::Application.new(ARGV)
board = GameBoard.new
board.setGeometry( 100, 100, 500, 355 )
board.show
app.exec