diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-24 22:21:49 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-25 03:32:05 +0900 |
commit | f99523388f35c2d0e32694bdaa0d4f695976ef21 (patch) | |
tree | e5adc5f9ca4254c27f1d3785cb74ae47455325ac /ext | |
parent | a85a873d78fcf09a48ab58e4a3cdb00fd0335208 (diff) | |
download | psych-f99523388f35c2d0e32694bdaa0d4f695976ef21.zip |
Suppress uninitialized instance variable warnings
In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning.
https://travis-ci.org/ruby/psych/jobs/562435717#L268
```
/home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warning: instance variable @obj not initialized
```
This is because `Psych.load` bypasses #initialize with the #init_with method.
Diffstat (limited to 'ext')
0 files changed, 0 insertions, 0 deletions