DevHeads.net

type of evaluation in Ruby

Hello. Ruby what kind of evaluation do you have ?, according to I have
a strict evaluation, since in the following code in the variable the
addition and subtraction are evaluated.

#ruby 2.3.1

a = 3 + 2
b = 10-5
c = (a + b) / (a-b)

puts "hello world!"

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>