diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-06-07 09:18:35 +0900 |
---|---|---|
committer | git <[email protected]> | 2022-06-07 10:42:10 +0900 |
commit | dbfb3b1917dbe89816ffeea6046d2743c32bf6b6 (patch) | |
tree | 3b482fcf954e86c100f09d1e30f1e156092414f0 /test/ruby | |
parent | cfcf33f1270f78c5fb928d7a0927e6be02ec8900 (diff) |
[ruby/rdoc] Allow boolean arguments to `rb_attr` and `rb_define_attr`
Currently only literal `0` and `1` are accepted as `read`/`write`
flags.
This patch allows other boolean arguments, C macros (`FALSE`/`TRUE`),
Ruby `VALUE`s (`Qfalse`/`Qtrue`), and C99 `bool`s (`false`/`true`), as
well.
https://github.com/ruby/rdoc/commit/169dc02e3c
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions