spiralofhope logo
spiralofhope logo

S
piral of Hope
Better software is possible.
Styles
Table of Contents

Computers > Programming >

http://www.ruby-lang.org/en/


1.8 to 1.9 transition

include

include seems to not work very well.. I've been using absolute directories for now.. (TODO - figure this crap out)

TODO: This was solved, put some code up here..

.each

[3]

You can use array.each, but you can't do string.each anymore.

Instead of string.each, use string.each_line or what have you (each_char, each_with_index ..).

Ruby Mentoring Notes

I originally began with 1.8.7. This was the most recent stable version, and the best documentation out there is for the 1.8 series.

However, I worried that if Ruby 2.0 came out, the transition from 1.8 => 2.0 would be very confusing to a new programmer.

I considered 1.9 because I had heard the feature was pretty close to what 2.0 would become.

I worried that 1.9 may not be supported by various toolkits.

As it turns out, 1.9.2 was considered a stable release of the 1.9 series. I thought that all of 1.9 was unstable.

Also, I learned that many people had already been transitioning to 1.9 because 2.0 had been taken so long and there were features they needed.

What forced the switch was learning that the Shoes GUI toolkit required 1.9

What was initially downloaded on Windows: