diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-07-30 12:44:38 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-07-30 12:44:38 +0900 |
commit | 2e6f777f9efa8ba15dcd1b7c1bb1917e5d31d6f8 (patch) | |
tree | 7170dab5f759de11460cb6c3fe1f1db0431d5adc /tool | |
parent | 3805ef7fb57136be46fceb693340981c75eb8ec1 (diff) | |
download | ruby-2e6f777f9efa8ba15dcd1b7c1bb1917e5d31d6f8.tar.gz |
`/o` should not use with instance variable
for example:
```
class C;def initialize(pat);@pat=pat;end;def re;/#{@pat}/o;end;end
C.new('1').re #=> /1/
C.new('2').re #=> /1/
```
Diffstat (limited to 'tool')
0 files changed, 0 insertions, 0 deletions