From: Steven LeBeau Date: 2009-07-24T07:21:18+09:00 Subject: Ruby from C++ (new to both) question --001636989670a9fc81046f66e764 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I'm currently taking a beginning C++ class and learning Ruby on my own. One thing I'm curious about (but don't have the vocabulary to articulate it to a search engine, apparently) is if there's an equivalent to declaring functions and then defining them later in the file so you don't have to worry about where the function is in relation to another function that calls it (or is called by it). In Ruby, I guess I'm talking about methods rather than functions, but the same principle: is there a way for method x to call method y (which appears later on in the program) by having declaration statements at the top of your program? (I think that time my question may have made more sense). This wasn't addressed on the Ruby webpage on the "Ruby From C and C++" page as being a "difference" or a "similarity". -Steven P.S.--I'm new. Hi! --001636989670a9fc81046f66e764--