Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Data since 3.0.0 #2593

Merged
merged 1 commit into from
Aug 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions refm/api/src/_builtin.rd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ require を書かなくても使うことができます。
#@since 2.3.0
#@include(thread/ConditionVariable)
#@end
#@until 3.0.0
#@include(_builtin/Data)
#@end
#@include(_builtin/Dir)
#@include(_builtin/ENV)
#@include(_builtin/EOFError)
Expand Down
4 changes: 1 addition & 3 deletions refm/api/src/_builtin/Data
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
= class Data < Object

このクラスは Ruby 2.5 から deprecated です。
Fixnum や Bignum が Integer に統合されたように、将来 Object に統合されて
Ruby スクリプトレベルでは見えなくなる予定です。
このクラスは Ruby 3.0 で削除されました。

拡張ライブラリを書く時に new が定義されているとまずい場合が
あるため、[[c:Object]] から new と allocate を undef したクラスです。
Expand Down