[ruby-cvs:66894] mame:r59716 (trunk): ext/coverage/coverage.c: add Coverage.enabled?

mame at ruby-lang.org mame at ruby-lang.org
Fri Sep 1 23:58:52 JST 2017


mame	2017-09-01 23:58:52 +0900 (Fri, 01 Sep 2017)

  New Revision: 59716

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59716

  Log:
    ext/coverage/coverage.c: add Coverage.enabled?
    
    * ext/coverage/coverage.c (rb_coverage_running): add to quickly
    check if coverage is enabled.  patched by Burke Libbey <burke AT
    libbey.me> in [ruby-core:81726].  [Feature #13667]

  Modified files:
    trunk/ext/coverage/coverage.c
    trunk/test/coverage/test_coverage.rb


More information about the ruby-cvs mailing list