Echo Magnum":195qzcxl said:
(...), only I thought ruby was one of those programing languages that is run after a bunch of codes have been written not after each and every code?
Technically, every language runs one line at the time. If you have a PHP script (to name something pretty damn straightforward), you can also do
echo 'Hello World'; at it will be printed. How many lines you need is just a matter of complexity. If you want a battle system, I wouldn't suggest to develop that within tryruby.org ^^ Aside from that, it's a beautiful page, but then again, if you already know you want to learn the stuff, just get the installer right away.
Ruby files are just regular plain text files with .rb extensions. There's nothing easier than that. If you execute that file through a comand line, it will run the code given, just like an RGSS script would. Code is always just code and will work the same whether stored in an RGSS script, a .rb file or in a temporary container on tryruby.org - you got your code, and your code will run.
Object-oriented means that you can reference single objects by their object names. Every object is (likely) connected with others, and together, they form the code. Unlike other structures, you integrate data and code structure with each other, instead of splitting them, hence why it's easier to re-build real life structures with it.
As that tells you nothing if you never worked with it, try reading through some documentation online - there's lots of text on the matter. If you don't get that, well... my personal opinion is "why bother", as knowing what the term means will do nothing for you... spend the time on learning how to code!
And yeah, last but not least... it might be like learning a new language, but in comparison, there's only a split part of the number of words. I'd say you don't need more than 40 or so terms to already know your way around scripting perfectly fine - if you have a library to look the methods and stuff up.
While we're at it, here's one page that will make it to the top of your bookmarks in no-time:
http://www.ruby-doc.org/docs/ProgrammingRuby/