Ruby is a dynamic, object-oriented, general-purpose programming language. Ruby is focused on programmer productivity over machine optimization.
Ruby has the following characteristics
- Everything is an Object
- Everything is true (except false and nil)
- Huge standard library
- Pass around Blocks of code
- Dynamic typing and duck typing
- Edit any class or method anywhere
Ruby was released in 1995, but became popular a decade later with the release of Ruby on Rails, a web app framework written in Ruby. A large number of startup use Ruby on Rails to create their sites.
If you know other programming languages and want to know how Ruby compares, see the official Ruby From Other Languages. The rest of this module will demonstrate Ruby by example. Below are some other resources for learning Ruby: