diff options
author | Koichi Sasada <[email protected]> | 2024-04-17 16:30:47 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2024-04-17 17:03:46 +0900 |
commit | f9f301800199e7b5b9a6e92cf726cd0214d417a4 (patch) | |
tree | 0767b9536a638f7e8a961f3f0d54c171c3065cad /spec/ruby/core | |
parent | 0b630d644128da611c73fd9fc28d3ee2e9cd80c0 (diff) |
`ISeq#to_a` respects `use_block` status
```ruby
b = RubyVM::InstructionSequence.compile('def f = yield; def g = nil').to_a
pp b
#=>
...
{:use_block=>true},
...
```
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions