nicojensen.de/vendor/bundle/gems/rouge-3.3.0/lib/rouge/demos/smalltalk

7 lines
157 B
Text
Raw Normal View History

2019-03-12 13:49:49 +01:00
quadMultiply: i1 and: i2
"This method multiplies the given numbers by each other
and the result by 4."
| mul |
mul := i1 * i2.
^mul * 4