Package org.jruby.ext.coverage
Class CoverageModule
java.lang.Object
org.jruby.ext.coverage.CoverageModule
Implementation of Ruby 1.9.2's "Coverage" module
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static IRubyObjectconvertCoverageToRuby(ThreadContext context, Ruby runtime, Map<String, IntList> coverage, int mode) static IRubyObjectpeek_result(ThreadContext context, IRubyObject self) static IRubyObjectresult(ThreadContext context, IRubyObject self) static IRubyObjectrunning_p(ThreadContext context, IRubyObject self) static IRubyObjectstart(ThreadContext context, IRubyObject self) static IRubyObjectstart(ThreadContext context, IRubyObject self, IRubyObject opts)
-
Constructor Details
-
CoverageModule
public CoverageModule()
-
-
Method Details
-
start
-
start
-
result
-
peek_result
-
running_p
-
convertCoverageToRuby
private static IRubyObject convertCoverageToRuby(ThreadContext context, Ruby runtime, Map<String, IntList> coverage, int mode)
-