operators are actually implemented as method calls : Ruby Interpreter « Language Basics « Ruby






operators are actually implemented as method calls


a = 2
b = 3
c = 4

puts (a.*(b)).+(c) 

 








Related examples in the same category

1.Ruby Interpreter option list
2.A Simple Ruby Program
3.Ruby is case-sensitive
4.Explicitly extend a statement onto the next line with a backslash