Description: The syntax for this statement is "alias A B". Any reference to B in your code will reference A. The construct being aliased must be a method, operator, or global variable. You can't alias local variables, instance variables, constants, or class variables. I haven't found any practical use for this keyword, except perhaps to save keystrokes for very long method or variable names.
Code Sample:
alias debug_title_menu_original_main main
def main
debug_title_menu_original_main
@debug_title_menu.dispose if not @debug_title_menu.nil?
end
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.