📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 18:59:32
📂
/
/
opt
/
alt
/
ruby32
/
share
/
ruby
✏️
Editing: coverage.rb
require "coverage.so" module Coverage def self.line_stub(file) lines = File.foreach(file).map { nil } iseqs = [RubyVM::InstructionSequence.compile_file(file)] until iseqs.empty? iseq = iseqs.pop iseq.trace_points.each {|n, type| lines[n - 1] = 0 if type == :line } iseq.each_child {|child| iseqs << child } end lines end end
💾 Save Changes
❌ Cancel