00:05
Guest57 has joined #ruby
00:05
Guest57 has quit [Client Quit]
00:51
jaredce has joined #ruby
00:56
jaredce has quit [Ping timeout: 260 seconds]
01:49
Obsdark has quit [Ping timeout: 264 seconds]
01:53
shiboka has quit [Remote host closed the connection]
01:56
brokkoli_origina has joined #ruby
01:56
brokkoli_origin has quit [Ping timeout: 264 seconds]
02:05
xdminsy has quit [Quit: Konversation terminated!]
02:06
xdminsy has joined #ruby
02:21
konsolebox has joined #ruby
02:27
konsolebox_ has joined #ruby
02:27
konsolebox has quit [Ping timeout: 240 seconds]
03:05
rvalue has quit [Read error: Connection reset by peer]
03:06
rvalue has joined #ruby
03:27
teardown has joined #ruby
03:27
xdminsy has quit [Read error: Connection reset by peer]
03:29
<
teardown >
i'm using caller_locations(1,1)[0].label.to_sym to get the name of the method that called my method. is there a way to get the name of the method up one level higher, ie: the name of the method that called the method that called the current method?
03:29
<
teardown >
i need the name of grandpa method
03:33
xdminsy has joined #ruby
03:37
ih8u1 has joined #ruby
03:39
ih8u has quit [Ping timeout: 252 seconds]
03:39
ih8u1 is now known as ih8u
03:48
Fridtjof has joined #ruby
04:33
legahc has quit [Quit: %bye%]
04:33
cnsvc has quit [Quit: %bye%]
04:35
legahc has joined #ruby
04:36
cnsvc has joined #ruby
04:43
wyclif has quit [Ping timeout: 264 seconds]
04:54
wyclif has joined #ruby
05:25
cappy has joined #ruby
05:32
reset has quit [Quit: reset]
05:39
grenierm has joined #ruby
05:53
brokkoli_origina has quit [Ping timeout: 260 seconds]
06:09
tarel2 has quit [Quit: Client closed]
06:13
<
wnd >
I must have missed something but caller_locations(2,1), perhaps?
06:31
cappy has quit [Quit: Leaving]
06:31
Inline has quit [Ping timeout: 240 seconds]
06:33
<
mooff >
try caller_locations[1].label
06:34
<
mooff >
>> caller_locations.map(&:label)
06:35
<
mooff >
heh, funky result from ruby[bot] :)
06:35
<
mooff >
== caller_locations.map(&:label)
06:35
<
ruby-eval >
=> ["eval", "<main>"]
06:36
<
mooff >
== (def grandparent() = parent; def parent() = child; def child() = caller_locations[1].label); grandparent()
06:36
<
ruby-eval >
=> "grandparent"
06:49
dviola has joined #ruby
07:18
Paris has joined #ruby
07:19
Paris has joined #ruby
07:19
Paris has quit [Changing host]
07:45
wyclif has quit [Quit: leaving]
08:09
polishdub has quit [Ping timeout: 256 seconds]
08:10
polishdub has joined #ruby
08:11
tirnanog has joined #ruby
08:14
yeahitsme has joined #ruby
08:16
jaredce has joined #ruby
08:26
Inline has joined #ruby
08:32
yeahitsme has quit [Quit: Leaving]
08:59
gaussianblue has joined #ruby
09:08
Paris has quit [Ping timeout: 240 seconds]
09:09
Paris has joined #ruby
09:23
Paris has quit [Quit: quit]
09:43
cappy has joined #ruby
09:52
grenierm has quit [Ping timeout: 250 seconds]
10:11
jhass has quit [Remote host closed the connection]
10:12
jhass has joined #ruby
10:34
brokkoli_origin has joined #ruby
10:43
Al2O3 has quit [Ping timeout: 246 seconds]
10:47
trnzecs has joined #ruby
11:20
trnzecs has quit [Remote host closed the connection]
11:48
hellstabber_ has joined #ruby
11:49
hellstabber_ has quit [Client Quit]
11:51
jbg_ is now known as jbg
11:52
jbg has joined #ruby
12:16
whysthatso125070 has joined #ruby
12:16
jaredce has quit [Ping timeout: 260 seconds]