Radical of an integer: Difference between revisions

Content added Content deleted
Line 1,397: Line 1,397:


=={{header|Ruby}}==
=={{header|Ruby}}==
Adding methods to Integers, but not globally:
Adding 3 methods to Integers, but not globally:
<syntaxhighlight lang="ruby">module Radical
<syntaxhighlight lang="ruby">module Radical
refine Integer do
refine Integer do