Top Level Namespace
Defined Under Namespace
Modules: Kernel, RubyExtBacktrace
Instance Method Summary
collapse
Instance Method Details
#some_method(param1, param2 = nil, *splat) {|"block_param0", "block_param1"| ... } ⇒ Object
16
17
18
|
# File 'ext/ruby_ext_backtrace/test.rb', line 16
def some_method param1, param2=nil, *splat, &blk
yield "block_param0", "block_param1"
end
|
#some_method2(param) ⇒ Object
9
10
11
12
13
14
|
# File 'ext/ruby_ext_backtrace/test.rb', line 9
def some_method2 param
c1 = caller_ext(0); c2 = caller(0)
pp c1
puts "\n #Original caller for comparison:"
pp c2
end
|