rcsteins/ship_game_ruby — comment on commit a5980d738b9d2c1cce1ee6281384b9ab12ad76ee
File:  line 0
By maxwell:

try putting
```
if __FILE__ == $0

window = GameWindow.new
window.show
end

```

this will only run this block when the file you are running is being executed directly, which should allow you to require this file for use in IRB