Introduction to Ruby and Behaviour Driven Development(BDD) using Cucumber
Simple things should be simple, complex things should be possible. Alan KayRuby is a powerful, flexible programming language you can use in web/Internet development, to process text, to create games, to create test suites and as part of the popular Ruby on Rails web framework. Ruby is:
places_visited=%W(India Nepal Japan) wishlist=%W(Switzerland Mauritius Japan) places_yet_to_go=wishlist-places_visited p places_yet_to_go
Interpreted, no compiler. As simple as open a text pad write puts "hello world" and save file as hello.rb and run it from ruby shell or rubymine(any ide).
Object-oriented, meaning it allows users to manipulate data structures called objects in order to build and execute programs. We'll learn more about objects later, but for now, all you need to know is everything in Ruby is an object.
Easy to use, Ruby was designed by Yukihiro Matsumoto (often just called "Matz") in 1995. Matz set out to design a language that emphasized human needs over those of the computer, which is why Ruby is so easy to pick up.