RubySpec #3154: Hidden allocate, new and superclass methods on 1.9.2
http://redmine.ruby-lang.org/issues/show/3154
e$B5/I<<Te(B: ujihisa .
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core, Target version: 1.9.2
ruby 1.9.2e$B$+$i!“$”$k%/%i%9$KBP$7$F$I$N$=$N?F%/%i%9$+$i$be(Ballocate
new
superclasse$B$Ne(B3e$B$D$N%a%=%C%I$,e(Bpublic_methods(false)e$B$N0lMw$K=P$F$3$J$/$J$C$?$N$G$9$,!"$3$l$O0U?^E*$J;EMMJQ99$J$N$G$7$g$&$+!#e(B
$ ruby192 -ve 'class A; end; A.ancestors.map {|i| p [i,
i.public_methods(false).sort] }’
ruby 1.9.2dev (2010-04-02 trunk 27162) [i386-darwin9.8.0]
[A, []]
[Object, []]
[Kernel, [:Array, :Complex, :Float, :Integer, :Rational, :String,
:callee, :method, :`, :abort, :at_exit, :autoload, :autoload?,
:binding, :block_given?, :caller, :catch, :eval, :exec, :exit, :exit!,
:fail, :fork, :format, :gets, :global_variables, :iterator?, :lambda,
:load, :local_variables, :loop, :open, :p, :print, :printf, :proc,
:putc, :puts, :raise, :rand, :readline, :readlines, :require,
:require_relative, :select, :set_trace_func, :sleep, :spawn, :sprintf,
:srand, :syscall, :system, :test, :throw, :trace_var, :trap,
:untrace_var, :warn]]
[BasicObject, []]
RubySpece$B$r=$@5$7$F$$$F$3$NJQ99$K5$$,$D$-$^$7$?!#e(BChangeLoge$B$d:9J,$d%a!<%j%s%0%j%9%H$N2a5n%m%0$de(BRedMinee$B$r8+$?$b$N$N$I$NItJ,$G$I$N$h$&$J0U?^$G$3$NJQ99$,$J$5$l$?$N$+J,$+$i$J$+$C$?$?$a!"$3$3$G<ALd$5$;$F$/$@$5$$!#e(B
e$B$3$l$,0U?^$7$J$$JQ99$G$“$C$?>l9g!”<+%/%i%9$H$=$NA4$F$N?F%/%i%9$Ne(Bpublic_methodse$B$de(Bsingleton_methodse$B$K5s$2$i$l$F$$$J$$$K$b4X$o$i$:%Q%V%j%C%/$K8F$S=P$;$k%a%=%C%I$,$“$k$N$O!”$A$g$C$HIT;W5D$J5sF0$N$h$&$K46$8$^$9!#e(B