00:04
agile has joined #ruby-lang
00:06
Hakon has quit [Ping timeout: 256 seconds]
00:06
gsav has quit [Read error: Connection reset by peer]
00:06
dous has joined #ruby-lang
00:06
dous has quit [Changing host]
00:06
dous has joined #ruby-lang
00:07
s0ra_h is now known as sora_h
00:09
brdude has quit [Quit: brdude]
00:09
gsav has joined #ruby-lang
00:15
bougyman has quit [Read error: Connection reset by peer]
00:16
sailias has joined #ruby-lang
00:17
chendo has quit [Ping timeout: 256 seconds]
00:17
<
jtoy >
what is the uri/url equivalent to File.join?
00:18
<
jtoy >
looks like Uri build
00:19
<
drbrain >
URI::Generic#+
00:19
<
drbrain >
well, + is the most sensible way to combine URIs
00:19
chessguy has joined #ruby-lang
00:20
<
Boohbah >
hey chessguy
00:21
<
Boohbah >
chessguy: have you done any chess programming in ruby?
00:22
neocoin has quit [Remote host closed the connection]
00:22
Erlkoenig has quit [Quit: Leaving.]
00:24
mrsolo has quit [Quit: Leaving]
00:24
sora_h is now known as s0ra_h
00:25
chendo has joined #ruby-lang
00:26
stardiviner has joined #ruby-lang
00:26
bryancp has joined #ruby-lang
00:26
mistym_ has quit [Changing host]
00:26
mistym_ has joined #ruby-lang
00:26
mistym has quit [Disconnected by services]
00:27
mistym_ is now known as mistym
00:27
mistym_ has joined #ruby-lang
00:31
chendo has quit [Ping timeout: 245 seconds]
00:33
chendo has joined #ruby-lang
00:36
bytephilia has joined #ruby-lang
00:36
x0F has quit [Read error: Connection reset by peer]
00:37
ilyam has quit [Quit: ilyam]
00:37
x0F has joined #ruby-lang
00:38
deryl has joined #ruby-lang
00:39
deryl has quit [Read error: Connection reset by peer]
00:39
deryl has joined #ruby-lang
00:40
bougyman has joined #ruby-lang
00:41
bougyman has quit [Changing host]
00:41
bougyman has joined #ruby-lang
00:43
havenn has joined #ruby-lang
00:47
s0ra_h is now known as sora_h
00:48
havenn has quit [Ping timeout: 240 seconds]
00:51
Stereokitsune has quit [*.net *.split]
00:51
jstemmer has quit [*.net *.split]
00:51
lsegal has quit [*.net *.split]
00:51
cid404 has quit [*.net *.split]
00:51
voker57 has quit [*.net *.split]
00:51
anildigital has quit [*.net *.split]
00:51
sepp2k has quit [Remote host closed the connection]
00:55
chendo has quit [Ping timeout: 268 seconds]
00:56
chendo has joined #ruby-lang
00:57
voker57 has joined #ruby-lang
00:57
voker57 has quit [Changing host]
00:57
voker57 has joined #ruby-lang
00:57
deryl has quit [Ping timeout: 245 seconds]
00:57
deryl has joined #ruby-lang
00:58
Stereokitsune has joined #ruby-lang
00:58
jstemmer has joined #ruby-lang
00:58
lsegal has joined #ruby-lang
00:58
cid404 has joined #ruby-lang
00:58
anildigital has joined #ruby-lang
00:58
rodj has quit [Quit: rodj]
00:59
anildigital has quit [Ping timeout: 260 seconds]
00:59
diegoviola has quit [Ping timeout: 252 seconds]
01:00
anildigital has joined #ruby-lang
01:03
itsmeduncan has joined #ruby-lang
01:04
diegoviola has joined #ruby-lang
01:04
itsmeduncan has quit [Client Quit]
01:06
deryl has quit [Ping timeout: 276 seconds]
01:12
bryancp has quit [Remote host closed the connection]
01:15
srbartlett has joined #ruby-lang
01:15
chimkan has joined #ruby-lang
01:16
sora_h is now known as s0ra_h
01:16
s0ra_h is now known as sora_h
01:17
pbjorklu1d has joined #ruby-lang
01:17
benanne has quit [Quit: kbai]
01:18
elemarjr has joined #ruby-lang
01:19
pbjorklund has quit [Ping timeout: 265 seconds]
01:20
lcdhoffman has joined #ruby-lang
01:29
sush24 has quit [Quit: This computer has gone to sleep]
01:30
igotnolegs has joined #ruby-lang
01:33
sora_h is now known as s0ra_h
01:36
banisterfiend has quit [Ping timeout: 252 seconds]
01:36
TorpedoSkyline has joined #ruby-lang
01:43
Stereokitsune has quit [Ping timeout: 260 seconds]
01:43
Stereokitsune has joined #ruby-lang
01:43
savage- has quit [Ping timeout: 252 seconds]
01:43
s0ra_h is now known as sora_h
01:44
havenn has joined #ruby-lang
01:48
Dreamer3 has quit [Quit: Leaving...]
01:48
Dreamer3 has joined #ruby-lang
01:48
havenn has quit [Ping timeout: 245 seconds]
01:49
bfreeman has quit [Quit: bfreeman]
01:50
jtoy has quit [Quit: jtoy]
01:50
imajes has quit [Excess Flood]
01:51
sora_h is now known as s0ra_h
01:51
imajes has joined #ruby-lang
01:51
s0ra_h is now known as sora_h
01:56
srbartlett has quit [Remote host closed the connection]
01:57
bytephilia has quit [Quit: Computer has gone to sleep.]
02:07
sora_h is now known as s0ra_h
02:07
deryl has joined #ruby-lang
02:07
s0ra_h is now known as sora_h
02:09
krz has quit [Quit: krz]
02:18
deryl has quit [Quit: deryl]
02:18
qpingu has quit [Quit: Leaving.]
02:19
deryl has joined #ruby-lang
02:23
sora_h is now known as s0ra_h
02:25
deryl has quit [Read error: Connection reset by peer]
02:28
andrewhl has joined #ruby-lang
02:30
kvirani has joined #ruby-lang
02:31
s0ra_h is now known as sora_h
02:32
chendo has quit [Ping timeout: 276 seconds]
02:36
bfreeman has joined #ruby-lang
02:36
chendo has joined #ruby-lang
02:36
lsegal has quit [Read error: Connection reset by peer]
02:37
bfreeman has quit [Client Quit]
02:37
lsegal has joined #ruby-lang
02:37
bfreeman has joined #ruby-lang
02:43
ryanf has joined #ruby-lang
02:43
neocoin has joined #ruby-lang
02:44
chessguy has quit [Remote host closed the connection]
02:45
[1]dtribble has joined #ruby-lang
02:45
havenn has joined #ruby-lang
02:46
lcdhoffman has quit [Quit: lcdhoffman]
02:48
dtribble has quit [Ping timeout: 276 seconds]
02:49
havenn has quit [Ping timeout: 248 seconds]
02:50
arooni-mobile has quit [Read error: Operation timed out]
02:52
tonni_ has joined #ruby-lang
02:53
chendo has quit [Ping timeout: 268 seconds]
02:54
JoelMcCracken has joined #ruby-lang
02:54
savage- has joined #ruby-lang
02:54
tonni has quit [Ping timeout: 246 seconds]
02:55
chendo has joined #ruby-lang
03:03
dfr|mac has joined #ruby-lang
03:05
srbartlett has joined #ruby-lang
03:10
JoelMcCracken has quit [Ping timeout: 244 seconds]
03:11
chendo has quit [Ping timeout: 260 seconds]
03:14
chendo has joined #ruby-lang
03:16
tonni has joined #ruby-lang
03:16
tonni_ has quit [Read error: Connection reset by peer]
03:18
srbartlett has quit [Remote host closed the connection]
03:22
sora_h is now known as s0ra_h
03:22
s0ra_h is now known as sora_h
03:24
towski has quit [Remote host closed the connection]
03:27
erpuds has joined #ruby-lang
03:32
diegoviola has quit [Ping timeout: 240 seconds]
03:33
rippa has joined #ruby-lang
03:36
diegoviola has joined #ruby-lang
03:38
sora_h is now known as s0ra_h
03:41
s0ra_h is now known as sora_h
03:42
totallymike has quit [Quit: WeeChat 0.3.8]
03:43
kvirani has quit [Remote host closed the connection]
03:44
qpingu has joined #ruby-lang
03:44
qpingu has quit [Client Quit]
03:45
havenn has joined #ruby-lang
03:47
ryanf has quit [Quit: leaving]
03:48
sora_h is now known as s0ra_h
03:50
havenn has quit [Ping timeout: 252 seconds]
03:52
s0ra_h is now known as sora_h
04:00
rippa has quit [Ping timeout: 240 seconds]
04:08
sailias has quit [Quit: Leaving.]
04:09
sora_h is now known as s0ra_h
04:09
s0ra_h is now known as sora_h
04:11
dfr|mac has quit [Remote host closed the connection]
04:14
erpuds has quit [Quit: erpuds]
04:16
andrewhl has quit [Remote host closed the connection]
04:21
chendo has quit [Quit: Leaving...]
04:24
dfr|mac has joined #ruby-lang
04:28
countdigi has joined #ruby-lang
04:29
banisterfiend has joined #ruby-lang
04:31
towski has joined #ruby-lang
04:33
ilyam has joined #ruby-lang
04:33
ilyam has quit [Client Quit]
04:35
chendo has joined #ruby-lang
04:36
savage- has quit [Remote host closed the connection]
04:40
elemarjr has quit [Quit: elemarjr]
04:43
bglusman has joined #ruby-lang
04:46
havenn has joined #ruby-lang
04:47
toretore has joined #ruby-lang
04:50
havenn has quit [Ping timeout: 244 seconds]
04:54
chimkan_ has joined #ruby-lang
04:57
chimkan has quit [Ping timeout: 240 seconds]
04:58
riley526 has joined #ruby-lang
04:58
chimkan_ has quit [Ping timeout: 248 seconds]
04:59
riley526 has left #ruby-lang [#ruby-lang]
05:05
Guest74974 has joined #ruby-lang
05:06
vertroa has quit [Read error: Connection reset by peer]
05:07
vertroa has joined #ruby-lang
05:12
bglusman has quit [Remote host closed the connection]
05:14
bglusman has joined #ruby-lang
05:19
kith has joined #ruby-lang
05:24
s1n4 has joined #ruby-lang
05:25
mistym has quit [Remote host closed the connection]
05:26
bglusman has quit [Remote host closed the connection]
05:30
toertore has joined #ruby-lang
05:33
toretore has quit [Ping timeout: 276 seconds]
05:34
lun_ has quit [Remote host closed the connection]
05:35
MouseTheLuckyDog has quit [Quit: Leaving]
05:36
dfr|mac has quit [Remote host closed the connection]
05:49
havenn has joined #ruby-lang
05:54
tjadc has quit [Remote host closed the connection]
05:54
tjadc has joined #ruby-lang
05:56
guns has joined #ruby-lang
06:02
chendo has quit [Ping timeout: 240 seconds]
06:02
chendo has joined #ruby-lang
06:06
justinmcp has joined #ruby-lang
06:08
bglusman has joined #ruby-lang
06:09
yxhuvud has joined #ruby-lang
06:12
tenku has joined #ruby-lang
06:17
snorkdude has joined #ruby-lang
06:22
havenn has quit [Remote host closed the connection]
06:25
dc5ala has joined #ruby-lang
06:25
havenn has joined #ruby-lang
06:32
toertore has quit [Ping timeout: 245 seconds]
06:32
toretore has joined #ruby-lang
06:33
jackhammer2022 has quit [Quit: Boston Red Sox FTW !!]
06:48
bglusman has quit [Ping timeout: 260 seconds]
06:50
havenn has quit [Remote host closed the connection]
06:52
Axsuul has quit [Remote host closed the connection]
06:53
towski has quit [Remote host closed the connection]
06:58
tjadc has quit [Read error: Connection reset by peer]
07:02
Axsuul has joined #ruby-lang
07:06
havenn has joined #ruby-lang
07:15
tenku has quit [Quit: Leaving]
07:19
havenn has quit [Remote host closed the connection]
07:22
snorkdude has quit [Remote host closed the connection]
07:27
havenn has joined #ruby-lang
07:35
thone_ has joined #ruby-lang
07:35
qwerxy has joined #ruby-lang
07:38
havenn has quit [Remote host closed the connection]
07:38
thone has quit [Ping timeout: 248 seconds]
07:39
Z33K|Lux has quit []
07:43
igotnolegs has quit [Quit: Computer has gone to sleep.]
07:52
gsav has quit [Read error: Connection reset by peer]
07:53
mssola has joined #ruby-lang
07:53
stayarrr has joined #ruby-lang
07:59
fgomez has joined #ruby-lang
08:08
mssola has quit [Quit: Konversation terminated!]
08:10
qwerxy has quit [Quit: offski]
08:11
d3vic3 has joined #ruby-lang
08:11
burgestrand has joined #ruby-lang
08:12
workmad3 has joined #ruby-lang
08:14
stepnem has joined #ruby-lang
08:14
fgomez has quit [Ping timeout: 256 seconds]
08:16
fgomez has joined #ruby-lang
08:18
qwerxy has joined #ruby-lang
08:19
[1]dtribble has quit [Ping timeout: 268 seconds]
08:25
dous has quit [Remote host closed the connection]
08:26
qwerxy has quit [Quit: offski]
08:30
workmad3 has quit [Ping timeout: 245 seconds]
08:48
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
08:50
scientes has quit [Ping timeout: 252 seconds]
08:56
dous has joined #ruby-lang
08:56
cha1tanya has joined #ruby-lang
08:56
cha1tanya has quit [Changing host]
08:56
cha1tanya has joined #ruby-lang
08:57
fayimora has joined #ruby-lang
09:00
runlevel1 has joined #ruby-lang
09:01
fayimora has quit [Client Quit]
09:01
dous has quit [Ping timeout: 276 seconds]
09:02
hdzhdgn has quit [Ping timeout: 268 seconds]
09:04
sora_h is now known as s0ra_h
09:04
s0ra_h is now known as sora_h
09:05
runlevel1 has left #ruby-lang [#ruby-lang]
09:06
justinmcp has quit [Remote host closed the connection]
09:10
burgestrand has quit [Quit: Leaving.]
09:18
hdzhdgn has joined #ruby-lang
09:20
runlevel1 has joined #ruby-lang
09:21
sora_h is now known as s0ra_h
09:22
icooba has quit [Quit: Computer has gone to sleep.]
09:34
havenn has joined #ruby-lang
09:35
hdzhdgn has quit [Ping timeout: 245 seconds]
09:38
banisterfiend has quit [Ping timeout: 246 seconds]
09:38
pbjorklund has joined #ruby-lang
09:39
banisterfiend has joined #ruby-lang
09:40
pbjorklu1d has quit [Ping timeout: 245 seconds]
09:43
fgomez has quit [Remote host closed the connection]
09:44
sush24 has joined #ruby-lang
09:44
bjarki has joined #ruby-lang
09:45
benanne has joined #ruby-lang
09:45
fgomez has joined #ruby-lang
09:46
fgomez has quit [Client Quit]
09:46
fgomez has joined #ruby-lang
09:46
havenn has quit [Remote host closed the connection]
09:48
sush24_ has joined #ruby-lang
09:51
sush24 has quit [Ping timeout: 256 seconds]
09:52
hdzhdgn has joined #ruby-lang
09:54
virunga has joined #ruby-lang
09:56
wallerdev has quit [Quit: wallerdev]
09:58
s0ra_h is now known as sora_h
09:58
dous has joined #ruby-lang
09:58
dous has quit [Changing host]
09:58
dous has joined #ruby-lang
09:59
woollyams has joined #ruby-lang
10:00
gentz_ has joined #ruby-lang
10:00
sora_h is now known as s0ra_h
10:00
s0ra_h is now known as sora_h
10:01
brandt has joined #ruby-lang
10:01
dmwuw_ has joined #ruby-lang
10:03
hachiya_ has joined #ruby-lang
10:04
FiXato|VPS has joined #ruby-lang
10:07
djinni`_ has joined #ruby-lang
10:08
diegoviola has quit [Ping timeout: 265 seconds]
10:09
vbatts1 has joined #ruby-lang
10:09
runlevel1 has quit [*.net *.split]
10:09
gentz has quit [*.net *.split]
10:09
dmwuw has quit [*.net *.split]
10:09
vbatts has quit [*.net *.split]
10:09
FiXato has quit [*.net *.split]
10:09
djinni` has quit [*.net *.split]
10:09
GeekOnCoffee has quit [*.net *.split]
10:09
hachiya has quit [*.net *.split]
10:09
brandt is now known as runlevel1
10:09
grin_ has joined #ruby-lang
10:11
x0F has quit [Disconnected by services]
10:11
x0F_ has joined #ruby-lang
10:11
diegoviola has joined #ruby-lang
10:11
x0F_ is now known as x0F
10:14
GeekOnCoffee has joined #ruby-lang
10:15
sora_h is now known as s0ra_h
10:15
cha1tanya has quit [Quit: cha1tanya]
10:19
apeiros_ has joined #ruby-lang
10:19
s1n4 has quit [Ping timeout: 276 seconds]
10:21
diegoviola has quit [Ping timeout: 265 seconds]
10:22
woollyams has quit [Quit: Computer has gone to sleep.]
10:26
matti has quit [Quit: 8-X]
10:28
_malte has joined #ruby-lang
10:30
toretore has quit [Quit: This computer has gone to sleep]
10:30
neocoin has quit [Remote host closed the connection]
10:31
neocoin has joined #ruby-lang
10:35
headius has quit [Ping timeout: 248 seconds]
10:37
r0bby has joined #ruby-lang
10:40
dous has quit [Ping timeout: 272 seconds]
10:42
robbyoconnor has quit [Ping timeout: 276 seconds]
10:50
guns has quit [Quit: guns]
10:55
_malte has quit [Remote host closed the connection]
11:00
gioele has joined #ruby-lang
11:04
diegoviola has joined #ruby-lang
11:13
rohit has joined #ruby-lang
11:15
s0ra_h is now known as sora_h
11:18
srbartlett has joined #ruby-lang
11:18
Leeky_afk is now known as Leeky
11:22
rohit has quit [Remote host closed the connection]
11:25
_malte has joined #ruby-lang
11:30
_malte has quit [Ping timeout: 276 seconds]
11:30
d3vic3 has quit [Ping timeout: 245 seconds]
11:31
sush24_ has quit [Quit: This computer has gone to sleep]
11:32
d3vic3 has joined #ruby-lang
11:34
jbsan has quit [Quit: jbsan]
11:37
dous has joined #ruby-lang
11:38
chessguy has joined #ruby-lang
11:39
d3vic3 has quit [Ping timeout: 272 seconds]
11:39
d3vic3 has joined #ruby-lang
11:41
diegoviola has quit [Ping timeout: 244 seconds]
11:43
sora_h is now known as s0ra_h
11:46
s0ra_h is now known as sora_h
11:48
VegetableSpoon has joined #ruby-lang
11:53
gioele has left #ruby-lang [#ruby-lang]
12:01
dous has quit [Remote host closed the connection]
12:01
dous has joined #ruby-lang
12:08
itsmeduncan has joined #ruby-lang
12:13
sora_h is now known as s0ra_h
12:15
woollyams has joined #ruby-lang
12:16
bjarki has quit [Quit: bjarki]
12:17
sush24 has joined #ruby-lang
12:20
jbsan has joined #ruby-lang
12:21
Axsuul has quit [Ping timeout: 272 seconds]
12:23
s0ra_h is now known as sora_h
12:24
qwerxy has joined #ruby-lang
12:24
qwerxy has quit [Client Quit]
12:26
_malte has joined #ruby-lang
12:27
lcdhoffman has joined #ruby-lang
12:28
itsmeduncan has quit [Quit: itsmeduncan]
12:28
kith_ has joined #ruby-lang
12:30
kith has quit [Ping timeout: 265 seconds]
12:31
_malte has quit [Ping timeout: 276 seconds]
12:34
jxie has quit [Quit: leaving]
12:35
nibbo has quit [Read error: Connection reset by peer]
12:38
rue has quit [Remote host closed the connection]
12:41
sailias has joined #ruby-lang
12:41
_malte has joined #ruby-lang
12:41
itsmeduncan has joined #ruby-lang
12:45
sheldonh has joined #ruby-lang
12:46
<
sheldonh >
is there an idiom for determining whether one object has access to another's protected methods? my "The Ruby Programming Language" is at the office :(
12:46
<
sheldonh >
i think the rule is: allowed if the sender has an ancestor class that is an ancestor class of the receiver
12:49
sora_h is now known as s0ra_h
12:49
<
sheldonh >
but that would make every protected method access legit, because everything has BasicObject as an ancestor. so i don't think i'm remembering the rule correctly
12:50
lcdhoffman has quit [Quit: lcdhoffman]
12:53
<
sheldonh >
got it. (@sender.class.ancestors - @sender.class.included_modules).include? @subject.class
12:53
grin_1 has joined #ruby-lang
12:54
d3vic3 has quit [Quit: leaving]
12:56
andrewhl has joined #ruby-lang
12:56
grin_ has quit [Ping timeout: 268 seconds]
12:58
bougyman has quit [Remote host closed the connection]
13:00
sheldonh has left #ruby-lang ["Konversation terminated!"]
13:03
s0ra_h is now known as sora_h
13:05
agile has quit [Remote host closed the connection]
13:09
rue has joined #ruby-lang
13:09
srbartlett has quit [Remote host closed the connection]
13:11
hdzhdgn has quit [Ping timeout: 265 seconds]
13:11
qwerxy has joined #ruby-lang
13:14
_malte has quit [Remote host closed the connection]
13:19
_malte has joined #ruby-lang
13:21
woollyams has quit [Quit: Computer has gone to sleep.]
13:24
fgomez has quit [Remote host closed the connection]
13:26
grin_1 has quit [Remote host closed the connection]
13:26
grin_ has joined #ruby-lang
13:26
s1n4 has joined #ruby-lang
13:26
qwerxy has quit [Quit: offski]
13:27
qwerxy has joined #ruby-lang
13:28
hdzhdgn has joined #ruby-lang
13:28
qwerxy has quit [Client Quit]
13:31
benanne has quit [Quit: kbai]
13:35
chopmo has joined #ruby-lang
13:37
benanne has joined #ruby-lang
13:46
cantonic has left #ruby-lang [#ruby-lang]
13:47
bryancp has joined #ruby-lang
13:50
rohit has joined #ruby-lang
13:50
s1n4 has quit [Quit: leaving]
13:51
_malte has quit [Remote host closed the connection]
13:55
iamjarvo has joined #ruby-lang
14:03
benanne has quit [Quit: kbai]
14:03
vertroa has quit [Remote host closed the connection]
14:04
vbatts1 has quit [Ping timeout: 252 seconds]
14:06
cantonic has joined #ruby-lang
14:06
vertroa has joined #ruby-lang
14:09
erichmenge has joined #ruby-lang
14:16
sheldonh has joined #ruby-lang
14:16
<
sheldonh >
how do i perform an alias_method on an instance object's eignenclass?
14:17
dfr|mac has joined #ruby-lang
14:20
<
sheldonh >
how about this? o.singleton_class.send :alias_method, :orig_method, :method
14:22
mistym has joined #ruby-lang
14:22
<
whitequark >
class << self; alias orig_method method; end
14:23
<
whitequark >
erm, class << o
14:24
tbuehlmann has joined #ruby-lang
14:25
hdzhdgn has quit [Ping timeout: 252 seconds]
14:27
bougyman has joined #ruby-lang
14:27
rohit has quit [Quit: Leaving]
14:28
bougyman has quit [Changing host]
14:28
bougyman has joined #ruby-lang
14:29
tjadc has joined #ruby-lang
14:30
bglusman has joined #ruby-lang
14:30
toretore has joined #ruby-lang
14:30
chopmo has quit [Quit: chopmo]
14:36
tjadc has quit [Remote host closed the connection]
14:38
tjadc has joined #ruby-lang
14:42
hdzhdgn has joined #ruby-lang
14:45
dous has quit [Ping timeout: 252 seconds]
14:46
sush24 has quit [Quit: Leaving]
14:47
bryancp has quit [Remote host closed the connection]
14:48
dous has joined #ruby-lang
14:50
gsav has joined #ruby-lang
14:51
<
rue >
You can also use #singleton_class, yes
14:56
gsav has quit [Ping timeout: 240 seconds]
14:59
kain has quit [Ping timeout: 244 seconds]
15:01
gsav has joined #ruby-lang
15:06
postmodern has quit [Quit: Leaving]
15:08
kain has joined #ruby-lang
15:12
bougyman has quit [Remote host closed the connection]
15:12
heftig has quit [Ping timeout: 246 seconds]
15:13
elemarjr has joined #ruby-lang
15:13
heftig has joined #ruby-lang
15:15
runlevel1 has quit [Quit: runlevel1]
15:15
bougyman has joined #ruby-lang
15:16
bougyman has quit [Changing host]
15:16
bougyman has joined #ruby-lang
15:18
snorkdude has joined #ruby-lang
15:21
bougyman has quit [Quit: leaving]
15:21
bougyman has joined #ruby-lang
15:23
snorkdude has quit [Remote host closed the connection]
15:24
erichmenge has quit [Quit: Be back later]
15:24
jbsan has quit [Quit: jbsan]
15:26
jbsan has joined #ruby-lang
15:26
gsav_ has joined #ruby-lang
15:27
gsav has quit [Ping timeout: 256 seconds]
15:36
saLOUt has joined #ruby-lang
15:47
elemarjr has quit [Quit: elemarjr]
15:47
neocoin has quit [Remote host closed the connection]
15:51
dc5ala has quit [Quit: Ex-Chat]
15:51
<
sheldonh >
whitequark: the disadvantage of class << is that it introduces a scope that has no access to variables one scope up
15:52
workmad3 has joined #ruby-lang
15:52
macmartine has joined #ruby-lang
15:54
<
sheldonh >
whitequark: you can get around that with an eval, but... well, we know where that leads :)
15:56
<
whitequark >
sheldonh: o.singleton_class.class_exec do ... end
16:01
workmad3 has quit [Ping timeout: 252 seconds]
16:01
elemarjr has joined #ruby-lang
16:03
jbsan has quit [Quit: jbsan]
16:04
toretore has quit [Quit: This computer has gone to sleep]
16:06
havenn has joined #ruby-lang
16:08
bryancp has joined #ruby-lang
16:09
bougyman has quit [Remote host closed the connection]
16:11
dtribble has joined #ruby-lang
16:11
bougyman has joined #ruby-lang
16:11
bougyman has quit [Changing host]
16:11
bougyman has joined #ruby-lang
16:11
savage- has joined #ruby-lang
16:12
<
sheldonh >
whitequark: hmmm. will that do something that o.singleton_class.send :alias_method, :orig_method, :method doesn't, in the context of method aliasing? obviously, what you're suggesting is way more general purpose
16:13
hdzhdgn has quit [Quit: hdzhdgn]
16:17
Z33K|Lux has joined #ruby-lang
16:20
bryancp has quit [Remote host closed the connection]
16:21
slyphon has quit [Ping timeout: 245 seconds]
16:21
<
whitequark >
sends are generally ugly
16:22
<
whitequark >
and my proposition describes exactly what you want to do
16:22
<
whitequark >
you want to execute the alias statement in the scope of the class.
16:22
tjadc has quit [Read error: Connection reset by peer]
16:23
andrewhl_ has joined #ruby-lang
16:23
<
sheldonh >
whitequark: ah. class_exec. not class_eval. cool, a new toy. i'll take a look. thanks
16:24
<
sheldonh >
man, i wish send() didn't hide from the caller stack
16:27
andrewhl has quit [Ping timeout: 276 seconds]
16:29
havenn has quit [Remote host closed the connection]
16:34
setmeaway has quit [Read error: Connection reset by peer]
16:39
jbsan has joined #ruby-lang
16:41
setmeaway has joined #ruby-lang
16:44
savage- has quit [Remote host closed the connection]
16:44
bglusman has quit [Remote host closed the connection]
16:44
vbatts has joined #ruby-lang
16:47
brdude has joined #ruby-lang
16:50
TorpedoSkyline has joined #ruby-lang
16:52
S1kx has quit [Ping timeout: 244 seconds]
16:55
workmad3 has joined #ruby-lang
16:56
benanne has joined #ruby-lang
16:59
u_u has joined #ruby-lang
16:59
mk03 has joined #ruby-lang
16:59
mk03 has quit [Remote host closed the connection]
17:02
havenn has joined #ruby-lang
17:05
RegEchse has joined #ruby-lang
17:05
toretore has joined #ruby-lang
17:14
workmad3 has quit [Ping timeout: 265 seconds]
17:18
u_u has quit [Ping timeout: 272 seconds]
17:19
brdude has quit [Quit: brdude]
17:20
pbjorklu1d has joined #ruby-lang
17:20
pbjorklund has quit [Read error: Operation timed out]
17:21
havenn has quit [Remote host closed the connection]
17:27
qwerxy has joined #ruby-lang
17:28
jackhammer2022 has joined #ruby-lang
17:35
rippa has joined #ruby-lang
17:35
u_u has joined #ruby-lang
17:36
qwerxy has quit [Quit: offski]
17:38
tjadc has joined #ruby-lang
17:41
qwerxy has joined #ruby-lang
17:41
r0bby_ has joined #ruby-lang
17:42
r0bby_ is now known as robbyoconnor
17:44
r0bby has quit [Ping timeout: 245 seconds]
17:45
JoelMcCracken has joined #ruby-lang
17:46
dc5ala has joined #ruby-lang
17:51
towski has joined #ruby-lang
17:53
havenn has joined #ruby-lang
17:55
tbuehlmann has quit []
17:57
dejongge has joined #ruby-lang
17:58
jxie has joined #ruby-lang
17:58
towski has quit [Remote host closed the connection]
17:58
slyphon has joined #ruby-lang
17:59
qwerxy has quit [Quit: offski]
18:03
havenn has quit [Remote host closed the connection]
18:06
towski has joined #ruby-lang
18:06
sheldonh has left #ruby-lang ["Konversation terminated!"]
18:07
slyphon has quit [Ping timeout: 244 seconds]
18:09
dfr|mac has quit [Remote host closed the connection]
18:09
towski has quit [Remote host closed the connection]
18:11
countdigi has quit [Ping timeout: 244 seconds]
18:12
lsegal has joined #ruby-lang
18:12
toretore has quit [Quit: This computer has gone to sleep]
18:12
slyphon has joined #ruby-lang
18:13
countdigi has joined #ruby-lang
18:14
qwerxy has joined #ruby-lang
18:17
jackhammer2022 has quit [Quit: I pahked my cah at the hahvahd yahd]
18:23
cantonic_ has joined #ruby-lang
18:25
scientes has joined #ruby-lang
18:26
cantonic has quit [Ping timeout: 248 seconds]
18:26
cantonic_ is now known as cantonic
18:27
r0bby has joined #ruby-lang
18:29
robbyoconnor has quit [Ping timeout: 272 seconds]
18:29
saLOUt has quit [Quit: Konversation terminated!]
18:34
havenn has joined #ruby-lang
18:34
dejongge has quit [Quit: Leaving.]
18:34
workmad3 has joined #ruby-lang
18:35
snorkdude has joined #ruby-lang
18:35
diegoviola has joined #ruby-lang
18:38
diegoviola has quit [Client Quit]
18:38
havenn has quit [Ping timeout: 245 seconds]
18:38
brdude has joined #ruby-lang
18:42
snorkdude has quit [Remote host closed the connection]
18:42
diegoviola has joined #ruby-lang
18:45
brdude has quit [Ping timeout: 260 seconds]
18:46
totallymike has joined #ruby-lang
18:49
sora_h is now known as s0ra_h
18:50
havenn has joined #ruby-lang
18:50
kith_ is now known as kith
18:52
dfr|mac has joined #ruby-lang
18:55
wallerdev has joined #ruby-lang
18:55
dous has quit [Remote host closed the connection]
18:59
tpope has quit [Quit: reboot]
19:04
Axsuul has joined #ruby-lang
19:06
savage- has joined #ruby-lang
19:06
workmad3 has quit [Ping timeout: 240 seconds]
19:10
jtoy has joined #ruby-lang
19:10
<
JoelMcCracken >
is there any easy way to generate the form field names that form helpers generate without actually generating the full field html?
19:12
<
rue >
JoelMcCracken: Probably. Did you want #rubyonrails?
19:13
brownies has joined #ruby-lang
19:13
<
brownies >
i have a style/idiom question... maybe just bikeshedding, but still curious
19:13
<
JoelMcCracken >
rue: sorry for the faux pas!
19:14
<
brownies >
is one more idiomatic than the other? does it matter? (are they both wrong?)
19:15
<
manveru >
they are different
19:16
<
brownies >
they're not the same?
19:17
<
brownies >
accounts-to-users is one-to-many (one account may hold many users), but i don't think that matters here
19:17
<
brownies >
why are they not the same?
19:17
<
manveru >
depends on whether account.user is a heavy operation
19:17
<
manveru >
the approach 2 always calls that method
19:18
<
brownies >
oh, interesting, did not know that.
19:18
<
brownies >
oh, wait, that makes sense.
19:18
<
manveru >
in order for ||= to work, it has to :)
19:18
<
brownies >
heh, yeah.
19:18
<
steveklabnik >
hmmmm
19:18
<
manveru >
i'd write it like that
20:26
_whitelogger has joined #ruby-lang
20:29
yxhuvud has quit [Ping timeout: 248 seconds]
20:30
Fullmoon has quit [Quit: Fullmoon]
20:30
jtoy has quit [Quit: jtoy]
20:31
s0ra_h is now known as sora_h
20:33
sepp2k has joined #ruby-lang
20:38
brianpWins has quit [Read error: Connection reset by peer]
20:39
qwerxy has quit [Quit: offski]
20:41
brianpWins has joined #ruby-lang
20:44
totallymike has quit [Quit: WeeChat 0.3.8]
20:45
emanon_ has quit [Remote host closed the connection]
20:48
sora_h is now known as s0ra_h
20:50
whitequark has joined #ruby-lang
20:54
burgestrand has joined #ruby-lang
20:54
rippa has quit [Ping timeout: 245 seconds]
20:55
itsmeduncan has joined #ruby-lang
21:03
chessguy has quit [Remote host closed the connection]
21:03
guns has joined #ruby-lang
21:06
s0ber_ has joined #ruby-lang
21:07
chessguy has joined #ruby-lang
21:08
s0ber has quit [Ping timeout: 240 seconds]
21:08
s0ber_ is now known as s0ber
21:15
ryanf has joined #ruby-lang
21:22
r0bby is now known as robbyoconnor
21:25
Jake232 has joined #ruby-lang
21:27
<
Jake232 >
What happens to my ruby process if I tell it to suspend with sigstop
21:27
<
Jake232 >
When I tell it to continue, will it actually continue from where it left?
21:27
<
injekt >
Jake232: try it
21:30
<
injekt >
but that's what you should do
21:31
<
injekt >
just run a loop or something, kill -s SIGSTOP <pid>; kill -s SIGCONT pid and see what happens
21:32
s0ra_h is now known as sora_h
21:36
savage- has joined #ruby-lang