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

Ruby 2.7.0からirbのSAVE_HISTORYがデフォルトになった #2331

Merged
merged 2 commits into from
Sep 15, 2020

Conversation

ima1zumi
Copy link
Contributor

関連 #2071

Ruby 2.7 からirbのSAVE_HISTORYがデフォルトで有効になりました。
RDoc: https://ruby-doc.org/stdlib-2.7.1/libdoc/irb/rdoc/IRB.html#module-IRB-label-History

#@since 2.7.0
IRB.conf[:SAVE_HISTORY] = 1000
#@end
#@until 2.7.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#@end
#@until 2.7.0

#@else

にまとめられそうです。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

確認ありがとうございます!まとめました。

IRB.conf[:SAVE_HISTORY] = nil

#@end
#@until 2.7.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここも同様です。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こちらもまとめました。

Copy link
Member

@hanachin hanachin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

よさそう。irb便利になってて嬉しい 👏

@hanachin hanachin merged commit a76ff13 into rurema:master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants