diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 06:49:50 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-28 06:49:50 +0000 |
commit | ae35d45846307ed1e17727fe2238f154d00ea67a (patch) | |
tree | 205309a26521602e72f9e7a47a5b2b83156e8bc4 /ext/rbconfig/sizeof | |
parent | 456327390983ebf05712f9707cf01adb4803d40a (diff) | |
download | ruby-ae35d45846307ed1e17727fe2238f154d00ea67a.tar.gz |
Fix example that trace method is called outside block
[ci skip]
`TracePoint` doesn't have the `line` method.
Therefore, this example will raise `NoMethodError`.
But since it does not seem to be the intended error, use the existing `lineno`
method instead.
Patch by: yuuji.yaginuma <yuuji.yaginuma@gmail.com>
https://github.com/ruby/ruby/pull/1731
[Fix GH-1731]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/rbconfig/sizeof')
0 files changed, 0 insertions, 0 deletions