rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/smalltalk
2019-10-21 10:18:17 +02:00

7 lines
157 B
Plaintext

quadMultiply: i1 and: i2
"This method multiplies the given numbers by each other
and the result by 4."
| mul |
mul := i1 * i2.
^mul * 4