Ruby 1.9 is a shortcut for ruby versions 1.9.1, 1.9.2 and 1.9.3. Ruby is a dynamic language that focuses on simplicity and expressiveness.
Ruby is a dynamic language that focuses on simplicity and expressiveness.
Ruby 1.9 is the successor of Ruby version 1.8, there are the subversions 1.9.1, 1.9.2 and 1.9.3. The successor Ruby 2.0 was published 2013-02-24.
Ruby 1.9 is incompatible with Ruby 1.8, the succcessor Ruby 2.0 is intended to be fully backward compatible with Ruby 1.9.3.
Ruby 1.9 introduced new features like:
- Per-string character encodings are supported
- Block local variables (variables that are local to the block in which they are declared)
- An additional lambda syntax
- New socket API (IPv6 support)
- require_relative import security