X7ROOT File Manager
Current Path:
/opt/alt/ruby40/share/ruby
opt
/
alt
/
ruby40
/
share
/
ruby
/
??
..
??
English.rb
(5.96 KB)
??
bigdecimal
??
bundled_gems.rb
(8.41 KB)
??
cgi
??
cgi.rb
(311 B)
??
coverage.rb
(517 B)
??
date.rb
(1.17 KB)
??
delegate.rb
(11.96 KB)
??
did_you_mean
??
did_you_mean.rb
(4.51 KB)
??
digest
??
digest.rb
(3.3 KB)
??
erb
??
erb.rb
(32.57 KB)
??
error_highlight
??
error_highlight.rb
(84 B)
??
expect.rb
(2.19 KB)
??
fileutils.rb
(79.18 KB)
??
find.rb
(2.54 KB)
??
forwardable
??
forwardable.rb
(8.81 KB)
??
io
??
ipaddr.rb
(22.86 KB)
??
json
??
json.rb
(21.45 KB)
??
mkmf.rb
(93.16 KB)
??
monitor.rb
(6.97 KB)
??
net
??
objspace
??
objspace.rb
(4.14 KB)
??
open-uri.rb
(28.58 KB)
??
open3
??
open3.rb
(47.51 KB)
??
openssl
??
openssl.rb
(1.24 KB)
??
optionparser.rb
(59 B)
??
optparse
??
optparse.rb
(65.44 KB)
??
pathname.rb
(2 KB)
??
pp.rb
(19.21 KB)
??
prettyprint.rb
(15.95 KB)
??
prism
??
prism.rb
(3.74 KB)
??
psych
??
psych.rb
(26.05 KB)
??
random
??
resolv.rb
(88.39 KB)
??
ripper
??
ripper.rb
(2.44 KB)
??
securerandom.rb
(2.28 KB)
??
set
??
shellwords.rb
(7.53 KB)
??
singleton.rb
(5.59 KB)
??
socket.rb
(61.26 KB)
??
strscan
??
syntax_suggest
??
syntax_suggest.rb
(74 B)
??
tempfile.rb
(20.7 KB)
??
time.rb
(24.01 KB)
??
timeout.rb
(10.48 KB)
??
tmpdir.rb
(5.62 KB)
??
tsort.rb
(14.36 KB)
??
un.rb
(11.17 KB)
??
unicode_normalize
??
uri
??
uri.rb
(3.09 KB)
??
vendor_ruby
??
weakref.rb
(1.39 KB)
??
yaml
??
yaml.rb
(2.16 KB)
Editing: coverage.rb
require "coverage.so" module Coverage # call-seq: # line_stub(file) -> array # # A simple helper function that creates the "stub" of line coverage # from a given source code. 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
Upload File
Create Folder