diff options
author | aycabta <aycabta@gmail.com> | 2020-08-29 20:48:25 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-09-14 02:13:11 +0900 |
commit | e468d9f49ca34f713c030c623f655a40370e186d (patch) | |
tree | d478651b666f38a917863d6bf78c911e7e5f2eeb /rubystub.c | |
parent | 5d841f563144a4864f0f60af2935e3eb82ee110a (diff) | |
download | ruby-e468d9f49ca34f713c030c623f655a40370e186d.tar.gz |
[ruby/irb] Add OMIT_ON_ASSIGNMENT
Omit the results evaluated at assignment if they are too long.
The behavior of ECHO_ON_ASSIGNMENT being on by default is hard to understand,
so I change it to off by default. Instead, we turn OMIT_ON_ASSIGNMENT on by
default. The result is displayed on assignment, but it will always be short
and within one line of the screen.
https://github.com/ruby/irb/commit/c5ea79d5ce
Diffstat (limited to 'rubystub.c')
0 files changed, 0 insertions, 0 deletions