Do not activate the emulation of Module#prepend on ruby 2.0

Akinori MUSHA %!s(int64=9) %!d(string=hace) años
padre
commit
66e72eff75
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/prepend.rb

+ 1 - 1
lib/prepend.rb

@@ -82,4 +82,4 @@ class Module
82 82
     include mod
83 83
   end
84 84
   private :prepend
85
-end unless Module.method_defined?(:prepend)
85
+end unless Module.method_defined?(:prepend) || Module.private_method_defined?(:prepend)