Old Russian measure of length: Difference between revisions

m
Line 2,223:
from, to = meth.to_s.split("2").map(&:to_sym)
raise NoMethodError, meth if ([from,to]-RATIOS.keys).size > 0
returnRATIOS[from] * arg if from ==/ RATIOS[to]
(RATIOS[from] / RATIOS[to]) * arg
end
1,149

edits