Ruby
Version
Ruby 1.9
Ruby 1.9 was released in December 2007. The latest stable version of the
reference implementation is 1.9.3 and is dual-licensed under the Ruby License
and a BSD License.
Ruby 2.0
Ruby 1.9 will be followed by Ruby 2.0. Ruby 2.0 is rumored to be "100%
compatible" with Ruby 1.9.3. As of October 2011, the plan is to have code
freeze October 2012 and release February 2013.
Features
· Thoroughly object-oriented with inheritance, mixins and metaclasses
· Dynamic typing and duck typing
· Everything is an expression (even statements) and everything is executed imperatively (even declarations)
· Succinct and flexible syntax that minimizes syntactic noise and serves as a foundation for domain-specific languages
· Dynamic reflection and alteration of objects to facilitate metaprogramming
· Lexical closures, iterators and generators, with a unique block syntax
· Literal notation for arrays, hashes, regular expressions and symbols