Skip to content

Commit

Permalink
since end; until end をsince else endにまとめた
Browse files Browse the repository at this point in the history
  • Loading branch information
ima1zumi committed Sep 9, 2020
1 parent 49231c0 commit 5968b2e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions refm/api/src/irb.rd
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ irb コマンドのオプションを指定したのと同じ効果が得られ
IRB.conf[:SINGLE_IRB] = false
#@since 2.7.0
IRB.conf[:SAVE_HISTORY] = 1000
#@end
#@until 2.7.0
#@else
IRB.conf[:SAVE_HISTORY] = nil
#@end
IRB.conf[:USE_LOADER] = true
Expand Down Expand Up @@ -639,8 +638,7 @@ irb はシンボルであるかどうかの判断を間違えることがあり

IRB.conf[:SAVE_HISTORY] = nil

#@end
#@until 2.7.0
#@else
さらに、.irbrc で以下のように
conf.save_history の値を指定しておくと、
実行結果の履歴がファイルに保存されます。
Expand Down

0 comments on commit 5968b2e

Please sign in to comment.