Class: RubyPunk
- Inherits:
-
Object
- Object
- RubyPunk
- Defined in:
- lib/rubypunk.rb,
ext/rubypunk/rubypunk.c
Class Method Summary collapse
Class Method Details
.start ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'ext/rubypunk/rubypunk.c', line 5 static VALUE rubypunk_start(VALUE self) { SDL_Surface* screen = NULL; SDL_Init(SDL_INIT_EVERYTHING); screen = SDL_SetVideoMode(640,480,32,SDL_SWSURFACE); SDL_Delay(10000); SDL_Quit(); return Qnil; } |
.test ⇒ Object
4 5 6 |
# File 'lib/rubypunk.rb', line 4 def self.test puts "Hello World!" end |