diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat May 26 13:50:48 2012 Koichi Sasada <ko1@atdot.net> + + * NEWS: add Kernel#caller's second argument. + Sat May 26 13:40:29 2012 Koichi Sasada <ko1@atdot.net> * vm.c (RubyVM::FrameInfo): add a class to access each frame @@ -36,6 +36,8 @@ with all sufficient information, see the ChangeLog file. * added Kernel#Hash conversion method like Array() or Float(). * extended method: * Kernel#warn accepts multiple args in like puts. + * Kernel#caller accepts second optional argument `n' which specify + required caller size. * incompatible changes: * system() and exec() closes non-standard file descriptors (The default of :close_others option is changed to true by default.) |