Skip to content

Instantly share code, notes, and snippets.

@okkez
Created March 27, 2012 09:48
Show Gist options
  • Save okkez/2214484 to your computer and use it in GitHub Desktop.
Save okkez/2214484 to your computer and use it in GitHub Desktop.
ふぁいならいざー
commit 61fd8266fbd82248e4698c5fb5a5b3860ed9f758
Author: Kenji Okimoto <[email protected]>
Date: Tue Mar 27 17:08:55 2012 +0900
remove undefine ObjectSpace singleton methods for Ruby 1.9.1 and later.
diff --git a/refm/api/src/_builtin/ObjectSpace b/refm/api/src/_builtin/ObjectSpace
index 5f26bf1..912215c 100644
--- a/refm/api/src/_builtin/ObjectSpace
+++ b/refm/api/src/_builtin/ObjectSpace
@@ -139,6 +139,7 @@ obj
@param obj ファイナライザを解除したいオブジェクトを指定します。
+#@until 1.9.1
--- add_finalizer(proc) -> Proc
このメソッドは obsolete です。代わりに
@@ -179,3 +180,4 @@ proc
@param proc 取り除きたいファイナライザである Proc オブジェクトを指定します。
+#@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment