rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/smalltalk

7 lines
157 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00: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