File: backtrace_sample

package info (click to toggle)
crystal 1.6.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,956 kB
  • sloc: javascript: 1,712; sh: 592; cpp: 541; makefile: 243; ansic: 119; python: 105; xml: 32
file content (17 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Kls
  def callee1
    puts caller.join('\n')
  end
end

def callee2
  yield
end

def callee3
  callee2 do
    Kls.new.callee1
  end
end

callee3