Singleton class extended by a module with module_function

e$B0J2<$N%W%m%0%i%`$N5sF0$,e(B 1.8 e$B$He(B 1.9
e$B$G0[$J$j$^$9$,!"0U?^E*$Je(B
e$B$b$N$G$7$g$&$+e(B?

% cat z.rb
module M
module_function
def m
p :m
end
end

class C
end

class << C
include M
end

C.m
% ruby -v z.rb
ruby 1.9.0 (2008-03-11 revision 15748) [i686-linux]
:m
% ruby-1.8 -v z.rb
ruby 1.8.6 (2008-03-11 patchlevel 5000) [i686-linux]
z.rb:15: private method `m’ called for C:Class (NoMethodError)

e$B>e5-$N$h$&$K!"e(B1.8 e$B$G$Oe(B NoMethodError e$B$H$J$k$b$N$,e(B 1.9
e$B$G$O$=e(B
e$B$N$^$^[email protected]$7$^$9!#e(B