diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-26 20:16:14 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-26 20:16:14 +0000 |
commit | 72e60a04372c03e40d3954063e6e520541d5ca2d () | |
tree | 3a64c81a0545e2770905e6ec7f2ac39247218a48 /prelude.rb | |
parent | 6e33c16ffdabf6b8c64a49344f830a25a2b5bccf (diff) |
`TracePoint#enable(target_line:)` is supported. [Feature #15289]
* vm_trace.c: `TracePoint#enable(target_line:)` is supported. This option enables a hook only at specified target_line. target_line should be combination with target and :line event. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | prelude.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -133,8 +133,8 @@ class IO end class TracePoint - def enable target: nil, &blk - self.__enable target, &blk end end |