Imaginary base numbers: Difference between revisions

m
Cleanup sections.
(Added a Ruby implementation.)
m (Cleanup sections.)
Line 3,368:
=={{header|Ruby}}==
{{works with|Ruby|2.3}}
==='''The Functions==='''
<lang ruby># Convert a quarter-imaginary base value (as a string) into a base 10 Gaussian integer.
 
Line 3,407:
return value
end</lang>
==='''The Task==='''
<lang ruby># Extend class Integer with a string conveter.