summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/Code/Ruby/func_abc.rb
blob: 75adaf9f7ff1a5d48877ae473de10ba1daa32ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!./ruby -w

def func_c
  print "Function C\n"
  sleep 1
end

def func_b
  print "Function B\n"
  sleep 1
  func_c
end

def func_a
  print "Function A\n"
  sleep 1
  func_b
end

func_a
OpenPOWER on IntegriCloud