X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Kernel
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Kernel
/
📄
%60-i.yaml
(656 B)
ðŸ“
..
📄
Array-i.yaml
(542 B)
📄
Float-i.yaml
(550 B)
📄
Integer-i.yaml
(786 B)
📄
Pathname-i.yaml
(311 B)
📄
String-i.yaml
(498 B)
📄
URI-i.yaml
(296 B)
📄
__method__-i.yaml
(607 B)
📄
abort-i.yaml
(394 B)
📄
at_exit-i.yaml
(788 B)
📄
autoload%3f-i.yaml
(529 B)
📄
autoload-i.yaml
(527 B)
📄
binding-i.yaml
(678 B)
📄
block_given%3f-i.yaml
(739 B)
📄
callcc-i.yaml
(710 B)
📄
caller-i.yaml
(968 B)
📄
catch-i.yaml
(1.03 KB)
📄
cdesc-Kernel.yaml
(4.43 KB)
📄
chomp%21-i.yaml
(576 B)
📄
chomp-i.yaml
(660 B)
📄
chop%21-i.yaml
(562 B)
📄
chop-i.yaml
(642 B)
📄
eval-i.yaml
(884 B)
📄
exec-i.yaml
(1.22 KB)
📄
exit%21-i.yaml
(420 B)
📄
exit-i.yaml
(1.35 KB)
📄
fail-i.yaml
(1.07 KB)
📄
fork-i.yaml
(1.04 KB)
📄
format-i.yaml
(6.11 KB)
📄
getc-i.yaml
(207 B)
📄
gets-i.yaml
(1.26 KB)
📄
global_variables-i.yaml
(450 B)
📄
gsub%21-i.yaml
(572 B)
📄
gsub-i.yaml
(572 B)
📄
iterator%3f-i.yaml
(733 B)
📄
lambda-i.yaml
(392 B)
📄
load-i.yaml
(709 B)
📄
local_variables-i.yaml
(458 B)
📄
loop-i.yaml
(498 B)
📄
method_missing-i.yaml
(1.05 KB)
📄
open-i.yaml
(935 B)
📄
open_uri_original_open-i.yaml
(256 B)
📄
p-i.yaml
(625 B)
📄
pp-i.yaml
(285 B)
📄
pretty_inspect-i.yaml
(263 B)
📄
print-i.yaml
(937 B)
📄
printf-i.yaml
(515 B)
📄
proc-i.yaml
(388 B)
📄
putc-i.yaml
(299 B)
📄
puts-i.yaml
(309 B)
📄
raise-i.yaml
(1.07 KB)
📄
rand-i.yaml
(1 KB)
📄
readline-i.yaml
(346 B)
📄
readlines-i.yaml
(368 B)
📄
require-i.yaml
(1.15 KB)
📄
scan-i.yaml
(347 B)
📄
scanf-i.yaml
(170 B)
📄
select-i.yaml
(327 B)
📄
set_trace_func-i.yaml
(1.72 KB)
📄
sleep-i.yaml
(810 B)
📄
split-i.yaml
(335 B)
📄
sprintf-i.yaml
(6.11 KB)
📄
srand-i.yaml
(736 B)
📄
sub%21-i.yaml
(335 B)
📄
sub-i.yaml
(378 B)
📄
syscall-i.yaml
(905 B)
📄
system-i.yaml
(743 B)
📄
test-i.yaml
(2.83 KB)
📄
throw-i.yaml
(563 B)
📄
trace_var-i.yaml
(984 B)
📄
trap-i.yaml
(1.36 KB)
📄
untrace_var-i.yaml
(487 B)
📄
warn-i.yaml
(350 B)
📄
y-i.yaml
(545 B)
Editing: set_trace_func-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Establishes <em>proc</em> as the handler for tracing, or disables tracing if the parameter is <tt>nil</tt>. <em>proc</em> takes up to six parameters: an event name, a filename, a line number, an object id, a binding, and the name of a class. <em>proc</em> is invoked whenever an event occurs. Events are: <tt>c-call</tt> (call a C-language routine), <tt>c-return</tt> (return from a C-language routine), <tt>call</tt> (call a Ruby method), <tt>class</tt> (start a class or module definition), <tt>end</tt> (finish a class or module definition), <tt>line</tt> (execute code on a new line), <tt>raise</tt> (raise an exception), and <tt>return</tt> (return from a Ruby method). Tracing is disabled within the context of <em>proc</em>." - !ruby/struct:SM::Flow::VERB body: " class Test\n def test\n a = 1\n b = 2\n end\n end\n\n set_trace_func proc { |event, file, line, id, binding, classname|\n printf "%8s %s:%-2d %10s %8s\\n", event, file, line, id, classname\n }\n t = Test.new\n t.test\n\n line prog.rb:11 false\n c-call prog.rb:11 new Class\n c-call prog.rb:11 initialize Object\n c-return prog.rb:11 initialize Object\n c-return prog.rb:11 new Class\n line prog.rb:12 false\n call prog.rb:2 test Test\n line prog.rb:3 test Test\n line prog.rb:4 test Test\n return prog.rb:4 test Test\n" full_name: Kernel#set_trace_func is_singleton: false name: set_trace_func params: | set_trace_func(proc) => proc set_trace_func(nil) => nil visibility: public
Upload File
Create Folder