Created
December 8, 2008 13:23
-
-
Save banister/33450 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def check_bounds | |
if @y > Common::SCREEN_Y*3 || @y < -Common::SCREEN_Y || @x >Common::SCREEN_ X*3 || @x < -Common::SCREEN_X then | |
@expired = true | |
end | |
end | |
this error: | |
/usr/bin/ruby -w /home/john/ruby/tremolo/base_classes.rb | |
/home/john/ruby/tremolo/base_classes.rb:90: syntax error, unexpected tCONSTANT, expecting '(' | |
if @y > Common::SCREEN_Y*3 || @y < -Common::SCREEN_Y || @x >Common::SCREEN_ X*3 || @x < -Common::SCREEN_X then | |
^ | |
/home/john/ruby/tremolo/base_classes.rb:90: syntax error, unexpected kTHEN, expecting kEND | |
/home/john/ruby/tremolo/base_classes.rb:133: syntax error, unexpected kEND, expecting $end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment