1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix code example in Readline::HISTORY documentation.

Wrapping the example into a <code> block to avoid it being rendered as a link.
This commit is contained in:
Cristian Greco 2020-10-22 15:34:53 +01:00 committed by Hiroshi SHIBATA
parent 82dc0c6aa3
commit 95bb49d425
Notes: git 2020-12-02 11:00:26 +09:00

View file

@ -2060,7 +2060,7 @@ Init_readline(void)
* The history buffer. It extends Enumerable module, so it behaves
* just like an array.
* For example, gets the fifth content that the user input by
* HISTORY[4].
* <code>HISTORY[4]</code>.
*/
rb_define_const(mReadline, "HISTORY", history);