Closed thegedge closed 7 years ago
From https://github.com/Shopify/measured/issues/46#issuecomment-264977606 and onwards, we want to get rid of multiplication / division on Measurable instances because, for example, 1kg · 1kg = 1kg². The new way to scale the value of a Measurable is via its #scale method.
Measurable
1kg · 1kg = 1kg²
#scale
Closes https://github.com/Shopify/measured/issues/46
Oh yeah, I keep forgetting that. Good catch. Updated!
From https://github.com/Shopify/measured/issues/46#issuecomment-264977606 and onwards, we want to get rid of multiplication / division on
Measurable
instances because, for example,1kg · 1kg = 1kg²
. The new way to scale the value of aMeasurable
is via its#scale
method.Closes https://github.com/Shopify/measured/issues/46