Just in case someone like me when I look though the source code, then I found some predefined global variables that I don't know what are they, so I found these pages could help me:
http://www.zenspider.com/Languages/Ruby/QuickRef.html#pre-defined-variables
http://ruby.runpaint.org/globals
@codereading/readers