Articles in Ruby Tutorials

eval() Isn't Quite Pure Evil

The scary truth about eval()

What Ruby 1.9 Gives Us

A look at some new possibilities we have thanks to the character encoding savvy nature of Ruby 1.9

Miscellaneous M17n Details

This post covers various side details of the new encoding engine. It's kind of a grab bag of topics that you should also know about when writing character encoding savvy code

Ruby 1.9's Three Default Encodings

Now that we've covered String, we need to talk about how String's get their initial Encoding

Ruby 1.9's String

Ruby 1.9's String class has changed quite a bit to support the new character encoding engine. Let me show you what's different and how to work with the new features

The Evils of the For Loop

This is a reminder of the reasons why we should avoid the for loop Ruby provides

Encoding Conversion With iconv

This article covers the Ruby 1.8 system of converting between character encodings

The $KCODE Variable and jcode Library

Details on how to globally change the encoding for Ruby 1.8 as well as coverage for a simple character encoding helper library

Bytes and Characters in Ruby 1.8

This is a look at the key features of Ruby 1.8's character encoding support

All About Struct

Ruby even has shortcuts for building data classes for you