Just completed basic tutorial in Ruby at Codecademy. Same way as with Python one can look into my profile there.

This tutorial was even quicker. The most interesting part was about lambda, yield, mixins and different syntactic sugar:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
puts "Ok" if true
puts "Oops" unless false

(1..5).each do |x| print x end
(1...6).each { |x| print x }
5.times { print "Yes!" }

def double(n); yield(n) end
double(3) { |n| 2 * n }

(1..3).map(&:to_s)

def lambda_demo
  puts "I'm the method!"
  yield
end
lambda_demo &lambda { puts "I'm the lambda!" }

data = {a: 1, b: 2, c: 3, d: 4, e: 5,}
data.select!(&lambda { |_, v| v < 3 })

At this point I find language syntax expressive.