On Dec 22, 8:52 am, Trans <transf... / gmail.com> wrote:

>   # round.rb
>   class Float
>     def round
>       0
>     end
>   end
>
>   # foo.rb
>   n = 1.23
>   puts n.round
>
>   #boo.rb
>   selector_require "round"   # hypothetical
>   require "foo"
>   n = 1.234
>   puts n.to_f

of course, "n.to_f" should be "n.round".

T.