00:01
nazty has joined #ruby-lang
00:02
ootoovak has quit [Quit: ootoovak]
00:02
JoelMcCracken has quit [Ping timeout: 248 seconds]
00:05
atadesk has joined #ruby-lang
00:05
reppard has joined #ruby-lang
00:08
mistym has joined #ruby-lang
00:08
mistym has quit [Changing host]
00:08
mistym has joined #ruby-lang
00:10
atadesk has left #ruby-lang [#ruby-lang]
00:12
krohrbaugh has quit [Quit: Leaving.]
00:12
sn0wb1rd has quit [Read error: Connection reset by peer]
00:12
sn0wb1rd has joined #ruby-lang
00:15
nazty has quit [Read error: Connection reset by peer]
00:16
jsilver has quit [Read error: Operation timed out]
00:17
sepp2k has quit [Remote host closed the connection]
00:19
Banistergalaxy has joined #ruby-lang
00:23
kurko_ has quit [Ping timeout: 252 seconds]
00:25
zmack has joined #ruby-lang
00:25
zmack has quit [Remote host closed the connection]
00:25
reppard has quit [Ping timeout: 245 seconds]
00:27
nazty has joined #ruby-lang
00:29
nazty is now known as lordnaz
00:29
reppard has joined #ruby-lang
00:30
waffleau has joined #ruby-lang
00:37
loladiro has joined #ruby-lang
00:37
loladiro has left #ruby-lang [#ruby-lang]
00:39
__butch__ has quit [Quit: Leaving.]
00:39
swav has quit [Remote host closed the connection]
00:41
atadesk has joined #ruby-lang
00:41
swav has joined #ruby-lang
00:42
elico has joined #ruby-lang
00:44
lordnaz has quit [Read error: Connection reset by peer]
00:45
havenn has quit [Remote host closed the connection]
00:47
dankest is now known as dankest|away
00:49
dous has joined #ruby-lang
00:49
dous has joined #ruby-lang
00:54
r0bby has quit [Ping timeout: 252 seconds]
00:55
krohrbaugh has joined #ruby-lang
00:55
dankest|away is now known as dankest
00:58
dous has quit [Remote host closed the connection]
00:59
Guest90418 has quit [Ping timeout: 252 seconds]
01:01
cirenyc has quit [Quit: Leaving...]
01:08
Guest90418 has joined #ruby-lang
01:09
gregmoreno has quit [Remote host closed the connection]
01:12
krohrbaugh has quit [Quit: Leaving.]
01:12
imperator has joined #ruby-lang
01:14
atadesk has left #ruby-lang [#ruby-lang]
01:14
wyhaines has quit [Remote host closed the connection]
01:17
marr has quit [Ping timeout: 256 seconds]
01:18
breakingthings has joined #ruby-lang
01:18
reppard has quit [Ping timeout: 244 seconds]
01:19
waffleau has quit [Quit: waffleau]
01:19
Guest90418 has quit [Ping timeout: 265 seconds]
01:20
elico has quit [Quit: Elico]
01:21
<
imperator >
evenin'
01:21
<
drbrain >
imperator: hi
01:21
<
imperator >
how goes the cable splicing?
01:22
<
drbrain >
I've "learned" how to do CPR the wrong way
01:22
<
drbrain >
and I've learned that cleaning fiber optic cables is very expensive
01:22
<
drbrain >
as much as $.54 per wipe
01:26
faustman has quit [Ping timeout: 264 seconds]
01:26
<
imperator >
i had no idea
01:27
reppard has joined #ruby-lang
01:31
io_syl has joined #ruby-lang
01:33
krohrbaugh has joined #ruby-lang
01:33
ivanoats has quit [Ping timeout: 265 seconds]
01:35
rhalff has quit [Ping timeout: 260 seconds]
01:37
Guest90418 has joined #ruby-lang
01:37
imajes has quit [Excess Flood]
01:37
imajes has joined #ruby-lang
01:38
pabloh has quit [Read error: Connection reset by peer]
01:43
Guest90418 has quit [Read error: Connection reset by peer]
01:45
sn0wb1rd has quit [Quit: sn0wb1rd]
01:45
dous has joined #ruby-lang
01:45
dous has quit [Changing host]
01:45
dous has joined #ruby-lang
01:47
spuk has joined #ruby-lang
01:48
<
dankest >
drbrain: what do you clean them with?
01:49
<
drbrain >
dankest: I already forgot
01:49
<
drbrain >
there's special tools and wipes and stuff
01:51
thoughtfulgoblin has joined #ruby-lang
01:51
<
thoughtfulgoblin >
hey is there anyway of stubbing an instance method on a class that is invoked during the initilize method
01:52
<
drbrain >
in a test?
01:52
<
thoughtfulgoblin >
i.e. i can't do the normal bla = Whatever.new bla.stub(:method).with(:this_crap)
01:52
<
thoughtfulgoblin >
yep
01:52
<
drbrain >
bla = Whatever.allocate; stub_on_bla; bla.send :initialize, ...
01:53
<
thoughtfulgoblin >
:O
01:53
<
thoughtfulgoblin >
what does allocate do?
01:53
<
drbrain >
thoughtfulgoblin: but I often try to design initialization so I can test the individual methods initialize needs
01:53
<
drbrain >
::allocate creates the object but doesn't initialize it
01:53
<
thoughtfulgoblin >
you mean
01:53
<
thoughtfulgoblin >
a = Whaterver.new
01:53
<
thoughtfulgoblin >
a.setup kind of thing?
01:54
<
thoughtfulgoblin >
or test the methods independantly
01:54
<
drbrain >
test them independently
01:55
<
drbrain >
I can call initialize_method_etc at any time after new and check what happened
01:55
<
drbrain >
new/initialize
01:55
dankest has quit [Quit: Leaving...]
01:55
<
drbrain >
but, back to your allocate question, Class#new looks something like:
01:56
<
drbrain >
def new(*args, &block); obj = allocate; obj.send :initialize, *args, █ obj; end
01:58
mjio has joined #ruby-lang
01:58
mistym is now known as mistym_pumpkin
02:00
ruby-lang517 has joined #ruby-lang
02:02
ruby-lang517 has quit [Client Quit]
02:02
sn0wb1rd has joined #ruby-lang
02:04
lcdhoffman has joined #ruby-lang
02:05
guns has joined #ruby-lang
02:06
dous has quit [Remote host closed the connection]
02:06
thoughtfulgoblin has quit [Read error: Connection reset by peer]
02:06
waffleau_ has joined #ruby-lang
02:06
richardburton has joined #ruby-lang
02:09
richardburton has left #ruby-lang [#ruby-lang]
02:14
krohrbaugh has quit [Quit: Leaving.]
02:20
ioga_wrk has quit [Read error: Operation timed out]
02:21
reppard has quit [Ping timeout: 265 seconds]
02:24
Guest9041 has joined #ruby-lang
02:24
mistym_pumpkin is now known as mistym
02:30
reppard has joined #ruby-lang
02:30
intellitech has quit [Read error: Operation timed out]
02:32
DEac-_ has quit [Read error: No route to host]
02:32
DEac- has joined #ruby-lang
02:33
Guest9041 has quit [Ping timeout: 260 seconds]
02:33
havenn has joined #ruby-lang
02:34
intellitech has joined #ruby-lang
02:37
imajes has quit [Excess Flood]
02:37
bluepojo has quit [Quit: Leaving.]
02:40
imajes has joined #ruby-lang
02:41
mwjcomputing has joined #ruby-lang
02:41
mwjcomputing has quit [Read error: Connection reset by peer]
02:46
Guest9041 has joined #ruby-lang
02:58
Guest9041 has quit [Ping timeout: 255 seconds]
03:00
_br_ has quit [Excess Flood]
03:01
krohrbaugh has joined #ruby-lang
03:04
_br_ has joined #ruby-lang
03:05
_br_ has quit [Excess Flood]
03:05
_br_ has joined #ruby-lang
03:06
srbaker has joined #ruby-lang
03:06
_br_ has quit [Excess Flood]
03:06
_br_ has joined #ruby-lang
03:09
hahuang65 has quit [Quit: Computer has gone to sleep.]
03:12
Guest9041 has joined #ruby-lang
03:20
madish has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121026125834]]
03:22
Hakon has joined #ruby-lang
03:23
imperator has quit [Ping timeout: 260 seconds]
03:24
Hakon has quit [Client Quit]
03:24
Guest9041 has quit [Ping timeout: 245 seconds]
03:33
waffleau_ has quit [Quit: waffleau_]
03:38
Guest9041 has joined #ruby-lang
03:50
Guest9041 has quit [Ping timeout: 245 seconds]
03:52
Guest9041 has joined #ruby-lang
03:56
retro|cz has quit [Ping timeout: 244 seconds]
03:58
Guest9041 has quit [Read error: Connection reset by peer]
03:58
briantrust has joined #ruby-lang
03:58
reppard has quit [Quit: leaving]
03:59
Guest9041 has joined #ruby-lang
04:09
lcdhoffman has quit [Quit: lcdhoffman]
04:10
breakingthings has quit []
04:13
valeri_uF0 has joined #ruby-lang
04:13
krohrbaugh has quit [Quit: Leaving.]
04:14
valeri_ufo has quit [Read error: Connection reset by peer]
04:14
dous has joined #ruby-lang
04:14
dous has quit [Changing host]
04:14
dous has joined #ruby-lang
04:14
ryanf_ has joined #ruby-lang
04:15
Guest9041 has quit [Read error: Connection reset by peer]
04:16
Guest9041 has joined #ruby-lang
04:18
[dmp] has quit [Read error: Operation timed out]
04:18
Muz has quit [Read error: Operation timed out]
04:18
coffeejunk has quit [Read error: Operation timed out]
04:18
meise has quit [Read error: Operation timed out]
04:20
msch has quit [Ping timeout: 246 seconds]
04:20
meise has joined #ruby-lang
04:20
jarib has quit [Ping timeout: 255 seconds]
04:20
khaase has quit [Ping timeout: 240 seconds]
04:20
mbr has quit [Ping timeout: 246 seconds]
04:20
jMCg has quit [Ping timeout: 260 seconds]
04:21
aef has quit [Ping timeout: 264 seconds]
04:21
masterkorp has quit [Ping timeout: 244 seconds]
04:21
darix has quit [Ping timeout: 244 seconds]
04:21
akamike has quit [Ping timeout: 252 seconds]
04:21
soahccc has quit [Ping timeout: 252 seconds]
04:21
grandy has quit [Ping timeout: 245 seconds]
04:21
LanceHaig has quit [Ping timeout: 255 seconds]
04:21
valeri_uF0 has quit [Ping timeout: 244 seconds]
04:21
_br_ has quit [Ping timeout: 255 seconds]
04:21
randym has quit [Ping timeout: 260 seconds]
04:22
cinch has quit [Ping timeout: 260 seconds]
04:22
jwollert- has quit [Ping timeout: 250 seconds]
04:23
amdprophet has quit [Ping timeout: 265 seconds]
04:23
darix has joined #ruby-lang
04:23
darix has quit [Changing host]
04:23
darix has joined #ruby-lang
04:25
khaase has joined #ruby-lang
04:25
valeri_ufo has joined #ruby-lang
04:27
jwollert has joined #ruby-lang
04:27
aef has joined #ruby-lang
04:27
LanceHaig has joined #ruby-lang
04:27
tubbo_ has joined #ruby-lang
04:27
cinch has joined #ruby-lang
04:27
jarib has joined #ruby-lang
04:27
randym has joined #ruby-lang
04:27
masterkorp has joined #ruby-lang
04:27
dkannan_ has joined #ruby-lang
04:28
meise has quit [Ping timeout: 255 seconds]
04:28
coffeejunk has joined #ruby-lang
04:28
Guest9041 has quit [Ping timeout: 260 seconds]
04:28
amdprophet has joined #ruby-lang
04:28
meise has joined #ruby-lang
04:29
mbr has joined #ruby-lang
04:29
<
andrewvos >
drbrain: but it doesn't return the result of initialize?
04:29
mrb_bk___ has joined #ruby-lang
04:29
mccraig_ has joined #ruby-lang
04:30
Guest9041 has joined #ruby-lang
04:30
_br_ has joined #ruby-lang
04:30
<
andrewvos >
drbrain: Oh it returns obj. interesting.
04:30
ryanf_ has quit [Quit: broken pipes |||]
04:30
grandy has joined #ruby-lang
04:30
wycats_ has joined #ruby-lang
04:31
thejspr__ has joined #ruby-lang
04:31
akahn_ has joined #ruby-lang
04:31
[dmp] has joined #ruby-lang
04:31
[dmp] has quit [Changing host]
04:31
[dmp] has joined #ruby-lang
04:31
pvh___ has joined #ruby-lang
04:31
pkondzior__ has joined #ruby-lang
04:32
agib__ has joined #ruby-lang
04:33
franckverrot__ has joined #ruby-lang
04:33
abuiles_ has joined #ruby-lang
04:33
soahccc has joined #ruby-lang
04:34
jMCg has joined #ruby-lang
04:34
jMCg has quit [Changing host]
04:34
jMCg has joined #ruby-lang
04:34
_br_ has quit [Excess Flood]
04:35
dlackty_ has joined #ruby-lang
04:35
strmpnk_ has joined #ruby-lang
04:36
mroth_ has joined #ruby-lang
04:36
tdy has quit [Ping timeout: 272 seconds]
04:36
akamike has joined #ruby-lang
04:37
rikkus_ has joined #ruby-lang
04:37
_br_ has joined #ruby-lang
04:38
imajes has quit [Excess Flood]
04:38
terite_ has joined #ruby-lang
04:38
davidboy___ has joined #ruby-lang
04:38
herpless_ has joined #ruby-lang
04:38
wyhaines has joined #ruby-lang
04:39
imajes has joined #ruby-lang
04:39
_br_ has quit [Excess Flood]
04:40
io_syl has quit [Quit: Computer has gone to sleep.]
04:40
srbaker has quit [Quit: Computer has gone to sleep.]
04:40
Muz has joined #ruby-lang
04:41
JoelMcCracken has joined #ruby-lang
04:42
_br_ has joined #ruby-lang
04:50
lsegal has joined #ruby-lang
04:50
ivanoats has joined #ruby-lang
04:51
guns has quit [Quit: guns]
04:53
havenn has quit [Remote host closed the connection]
05:00
briantrust has quit [Remote host closed the connection]
05:01
ryanf_ has joined #ruby-lang
05:02
briantrust has joined #ruby-lang
05:03
briantrust has quit [Remote host closed the connection]
05:03
mhi^ has quit [Ping timeout: 240 seconds]
05:07
gaveen has joined #ruby-lang
05:09
ryanf__ has joined #ruby-lang
05:11
ryanf__ has quit [Client Quit]
05:11
mjio has joined #ruby-lang
05:11
JohnBat26 has joined #ruby-lang
05:11
JohnBat26 has quit [Client Quit]
05:12
JohnBat26 has joined #ruby-lang
05:12
ryanf_ has quit [Ping timeout: 264 seconds]
05:13
ioga_wrk has joined #ruby-lang
05:13
jsilver has joined #ruby-lang
05:14
dous has quit [Remote host closed the connection]
05:14
mjio has quit [Client Quit]
05:17
ryanlecompte has joined #ruby-lang
05:19
chaosis has quit [Remote host closed the connection]
05:28
burgestrand has quit [Quit: Leaving.]
05:34
io_syl has joined #ruby-lang
05:38
imajes has quit [Excess Flood]
05:38
nick_h has quit [Ping timeout: 265 seconds]
05:39
stringly has joined #ruby-lang
05:40
imajes has joined #ruby-lang
05:40
nick_h has joined #ruby-lang
05:41
stevechiagozie has joined #ruby-lang
05:50
jonathangreenber has joined #ruby-lang
05:53
ryanlecompte has quit [Remote host closed the connection]
05:59
ivanoats has quit [Remote host closed the connection]
06:01
stringly has quit [Quit: Leaving]
06:12
mistym has quit [Remote host closed the connection]
06:13
<
drbrain >
you'd need to take care to return self from initialize otherwise
06:19
sn0wb1rd has quit [Quit: I will be right back]
06:20
ryanlecompte has joined #ruby-lang
06:23
sn0wb1rd has joined #ruby-lang
06:25
stardiviner has joined #ruby-lang
06:30
agile has quit [Ping timeout: 246 seconds]
06:30
swav has quit [Remote host closed the connection]
06:39
elico has joined #ruby-lang
06:41
burgestrand has joined #ruby-lang
06:44
ryanlecompte has quit [Remote host closed the connection]
06:46
faustman has joined #ruby-lang
06:48
agile has joined #ruby-lang
06:50
faustman has quit [Read error: Operation timed out]
06:57
zmack has joined #ruby-lang
06:59
apeiros_ has quit [Remote host closed the connection]
07:06
faustman has joined #ruby-lang
07:15
rippa has joined #ruby-lang
07:22
shemerey has joined #ruby-lang
07:26
lele has quit [Ping timeout: 246 seconds]
07:28
qwerxy has joined #ruby-lang
07:28
swav has joined #ruby-lang
07:30
lele has joined #ruby-lang
07:31
Asher has quit [Quit: Leaving.]
07:33
swav has quit [Ping timeout: 252 seconds]
07:37
<
reactormonk >
I think you can fuck with that if you really want to
07:37
dzhulk has quit [Quit: Leaving.]
07:38
<
reactormonk >
>> obj = Class.new; def obj.new; raise "haha"; end; obj.new
07:38
mytrile has joined #ruby-lang
07:39
imajes has quit [Excess Flood]
07:41
imajes has joined #ruby-lang
07:41
<
reactormonk >
aww :-(
07:45
charliesome has joined #ruby-lang
07:45
xalei has joined #ruby-lang
07:49
unsymbol has joined #ruby-lang
07:53
stevechiagozie has quit [Ping timeout: 265 seconds]
07:54
nerd has joined #ruby-lang
07:55
ryanlecompte has joined #ruby-lang
07:56
jonathangreenber has quit [Remote host closed the connection]
07:57
JoelMcCracken has quit [Ping timeout: 252 seconds]
08:02
ryanlecompte has quit [Ping timeout: 250 seconds]
08:03
solars has joined #ruby-lang
08:03
dr_bob has joined #ruby-lang
08:04
jbsan_ has joined #ruby-lang
08:04
sqbell has joined #ruby-lang
08:04
Nisstyre-laptop has joined #ruby-lang
08:05
yxhuvud2 has joined #ruby-lang
08:06
yxhuvud has quit [Ping timeout: 276 seconds]
08:07
faustman has quit [Ping timeout: 265 seconds]
08:10
elico has quit [Quit: Elico]
08:10
kain has quit [Quit: exit]
08:11
rippa has quit [Ping timeout: 256 seconds]
08:11
stardiviner has joined #ruby-lang
08:11
qwerxy has quit [Quit: offski]
08:13
xalei_ has joined #ruby-lang
08:15
Mon_Ouie has joined #ruby-lang
08:16
xalei has quit [Ping timeout: 260 seconds]
08:17
faustman has joined #ruby-lang
08:24
apeiros_ has joined #ruby-lang
08:25
antbody has joined #ruby-lang
08:28
stonerfish has quit [Quit: Leaving.]
08:31
gnufied has joined #ruby-lang
08:33
gjaldon has joined #ruby-lang
08:34
agarcia has joined #ruby-lang
08:35
faustman has quit [Ping timeout: 244 seconds]
08:36
swav has joined #ruby-lang
08:37
dzhulk has joined #ruby-lang
08:39
swav has quit [Remote host closed the connection]
08:39
imajes has quit [Excess Flood]
08:40
swav has joined #ruby-lang
08:41
imajes has joined #ruby-lang
08:44
nick_h has quit [*.net *.split]
08:44
strmpnk_ has quit [*.net *.split]
08:44
dkannan_ has quit [*.net *.split]
08:44
LanceHaig has quit [*.net *.split]
08:44
blazes816 has quit [*.net *.split]
08:44
ozzloy has quit [*.net *.split]
08:44
vbatts has quit [*.net *.split]
08:44
kke has quit [*.net *.split]
08:44
_ko1 has quit [*.net *.split]
08:44
jesse has quit [*.net *.split]
08:44
jmeeuwen has quit [*.net *.split]
08:44
andrewvos has quit [*.net *.split]
08:44
zigidias has quit [*.net *.split]
08:44
swav has quit [Ping timeout: 265 seconds]
08:46
nick_h has joined #ruby-lang
08:46
dkannan_ has joined #ruby-lang
08:46
jesse has joined #ruby-lang
08:46
kke has joined #ruby-lang
08:46
blazes816 has joined #ruby-lang
08:46
andrewvos has joined #ruby-lang
08:46
ozzloy has joined #ruby-lang
08:46
LanceHaig has joined #ruby-lang
08:46
zigidias has joined #ruby-lang
08:46
_ko1 has joined #ruby-lang
08:46
strmpnk_ has joined #ruby-lang
08:46
vbatts has joined #ruby-lang
08:46
jmeeuwen has joined #ruby-lang
08:46
aef has quit [Excess Flood]
08:48
aef has joined #ruby-lang
08:48
dc5ala has joined #ruby-lang
08:51
marr has joined #ruby-lang
08:58
sqbell has quit [Ping timeout: 260 seconds]
09:02
gjaldon has quit [Read error: Connection reset by peer]
09:05
rue|w has joined #ruby-lang
09:07
gaveen has quit [Remote host closed the connection]
09:10
adambeynon has joined #ruby-lang
09:14
judofyr has joined #ruby-lang
09:15
vlad_starkov has joined #ruby-lang
09:16
loladiro has joined #ruby-lang
09:19
jonathangreenber has joined #ruby-lang
09:19
sush24 has joined #ruby-lang
09:22
rue|w has quit [Remote host closed the connection]
09:24
Averna has quit [Quit: Leaving.]
09:27
wyhaines has quit [Remote host closed the connection]
09:28
blacktulip has joined #ruby-lang
09:29
sqbell has joined #ruby-lang
09:31
jonathangreenber has quit [Remote host closed the connection]
09:32
sepp2k has joined #ruby-lang
09:34
rikkus has quit [Disconnected by services]
09:35
rikkus_ has quit []
09:35
rikkus_ has joined #ruby-lang
09:35
rikkus_ has left #ruby-lang [#ruby-lang]
09:37
rhalff has joined #ruby-lang
09:40
imajes has quit [Excess Flood]
09:41
imajes has joined #ruby-lang
09:45
antbody has quit [Quit: leaving]
09:45
loladiro has quit [Quit: loladiro]
09:52
herpless has quit [Remote host closed the connection]
09:52
mroth has quit [Remote host closed the connection]
09:52
agib_ has quit [Remote host closed the connection]
09:52
dkannan has quit [Remote host closed the connection]
09:52
dlackty has quit [Remote host closed the connection]
09:52
thejspr_ has quit [Remote host closed the connection]
09:52
abuiles has quit [Remote host closed the connection]
09:52
wycats has quit [Remote host closed the connection]
09:52
strmpnk has quit [Remote host closed the connection]
09:52
pkondzior_ has quit [Remote host closed the connection]
09:52
davidboy has quit [Remote host closed the connection]
09:52
akahn has quit [Remote host closed the connection]
09:52
terite has quit [Remote host closed the connection]
09:52
franckverrot has quit [Remote host closed the connection]
09:52
mccraig has quit [Remote host closed the connection]
09:52
pvh__ has quit [Remote host closed the connection]
09:52
tubbo has quit [Remote host closed the connection]
09:52
beawesomeinstead has quit [Read error: Connection reset by peer]
09:52
Spaceghost|cloud has quit [Remote host closed the connection]
09:52
anildigital_work has quit [Write error: Broken pipe]
09:52
mrb_bk__ has quit [Write error: Broken pipe]
09:54
franckverrot__ has quit [Remote host closed the connection]
09:54
tubbo_ has quit [Remote host closed the connection]
09:54
dkannan_ has quit [Remote host closed the connection]
09:54
mccraig_ has quit [Remote host closed the connection]
09:54
davidboy___ has quit [Remote host closed the connection]
09:54
wycats_ has quit [Remote host closed the connection]
09:54
herpless_ has quit [Remote host closed the connection]
09:54
akahn_ has quit [Remote host closed the connection]
09:54
agib__ has quit [Remote host closed the connection]
09:54
terite_ has quit [Remote host closed the connection]
09:54
dlackty_ has quit [Remote host closed the connection]
09:54
mroth_ has quit [Remote host closed the connection]
09:54
mrb_bk___ has quit [Remote host closed the connection]
09:54
abuiles_ has quit [Remote host closed the connection]
09:54
strmpnk_ has quit [Write error: Broken pipe]
09:54
pvh___ has quit [Write error: Broken pipe]
09:54
thejspr__ has quit [Write error: Broken pipe]
09:54
pkondzior__ has quit [Write error: Broken pipe]
09:56
rue|w has joined #ruby-lang
09:57
<
yorickpeterse >
Morning
09:59
GarethAdams has joined #ruby-lang
10:01
francisfish has joined #ruby-lang
10:03
ebouchut has joined #ruby-lang
10:08
wycats_ has joined #ruby-lang
10:09
anildigital_work has joined #ruby-lang
10:09
dkannan_ has joined #ruby-lang
10:09
mccraig_ has joined #ruby-lang
10:10
pvh___ has joined #ruby-lang
10:10
herpless_ has joined #ruby-lang
10:10
pkondzior__ has joined #ruby-lang
10:10
agib__ has joined #ruby-lang
10:10
thejspr__ has joined #ruby-lang
10:10
terite_ has joined #ruby-lang
10:11
faustman has joined #ruby-lang
10:11
mroth_ has joined #ruby-lang
10:12
abuiles_ has joined #ruby-lang
10:13
mrb_bk___ has joined #ruby-lang
10:13
beawesomeinstead has joined #ruby-lang
10:13
akahn_ has joined #ruby-lang
10:13
strmpnk_ has joined #ruby-lang
10:14
franckverrot__ has joined #ruby-lang
10:14
dlackty_ has joined #ruby-lang
10:15
ebouchut has quit [Quit: This computer has gone to sleep]
10:15
davidboy___ has joined #ruby-lang
10:16
ebouchut has joined #ruby-lang
10:17
brianpWins has quit [Quit: brianpWins]
10:17
cultureulterior_ has joined #ruby-lang
10:18
tubbo_ has joined #ruby-lang
10:20
beiter has joined #ruby-lang
10:20
Spaceghost|cloud has joined #ruby-lang
10:21
thone_ has joined #ruby-lang
10:21
franckverrot__ is now known as franckverrot
10:21
thone has quit [Read error: Operation timed out]
10:22
vlad_starkov has quit [Remote host closed the connection]
10:24
shemerey has joined #ruby-lang
10:28
antbody has joined #ruby-lang
10:29
leopard_me has joined #ruby-lang
10:38
wallerdev has quit [Quit: wallerdev]
10:39
vlad_starkov has joined #ruby-lang
10:40
imajes has quit [Excess Flood]
10:42
imajes has joined #ruby-lang
10:45
ebouchut has quit [Quit: This computer has gone to sleep]
10:46
antbody has quit [Quit: leaving]
10:46
antbody has joined #ruby-lang
10:48
vlad_starkov has quit [Remote host closed the connection]
10:53
<
unsymbol >
i checked out #ruby this morning.
10:53
<
unsymbol >
did not like.
10:54
<
judofyr >
unsymbol: how is it?
10:55
<
charliesome >
i think #ruby vs #ruby-lang is sort of like #ruby-talk vs #ruby-core
10:55
<
charliesome >
'sort of'
10:55
<
charliesome >
also #ruby-talk and #ruby-core shouldn't have # chars
10:55
<
unsymbol >
judofyr charliesome: it's like #derp vs #lessderp
10:56
<
unsymbol >
charliesome: heh
10:58
xalei_ has quit [Remote host closed the connection]
11:01
sqbell has quit [Ping timeout: 250 seconds]
11:01
Mon_Ouie has quit [Ping timeout: 252 seconds]
11:02
Mon_Ouie has joined #ruby-lang
11:03
sush24 has quit [Quit: This computer has gone to sleep]
11:06
kurko_ has joined #ruby-lang
11:09
setmeaway has quit [Read error: Connection reset by peer]
11:10
setmeaway has joined #ruby-lang
11:10
<
charliesome >
welp the world has 30 seconds left, see you all on the other side
11:12
shtirlic_ has joined #ruby-lang
11:13
<
chris2 >
anyone subscribed to ruby-talk?
11:13
ebouchut has joined #ruby-lang
11:15
m3nd3s has joined #ruby-lang
11:15
<
chris2 >
manveru: did my ANN go through?
11:15
<
manveru >
don't see any for bacon
11:16
<
chris2 >
with which address did i sign up...
11:16
<
manveru >
chneukirchen@gmail.com
11:16
sush24 has joined #ruby-lang
11:16
<
chris2 >
i tried that
11:16
<
darix >
chris2: shouldnt this be in the emailheader of mails you receive?
11:16
leopard_me has quit [Quit: Computer has gone to sleep.]
11:17
<
chris2 >
darix: i dont recieve mails
11:17
<
chris2 >
because i dont read it anymore
11:17
<
darix >
and you dont have the signup ack mail anymore either?
11:18
<
chris2 >
trying my other address
11:19
<
chris2 >
hrm, that one bounced instantly
11:19
<
chris2 >
but @gmail.com didnt...
11:21
<
chris2 >
ruby-talk seems to be a lot less traffic these days
11:22
<
chris2 >
manveru: still nothing?
11:24
<
manveru >
not that i can see
11:24
<
chris2 >
ok, second try
11:25
<
chris2 >
i hate releasing
11:25
<
manveru >
yep what?
11:25
<
chris2 >
that one worked
11:25
<
rue|w >
Well hold on to it then
11:25
<
darix >
chris2: maybe its the first mail and the servers are just slow atm?:D
11:25
<
chris2 >
its the address i run my ANN feed with
11:26
<
manveru >
ah, got it now
11:29
antbody has quit [Quit: leaving]
11:29
<
chris2 >
ok, what else did i want to finish this year
11:30
<
darix >
chris2: rack 2.0?
11:31
beiter has quit [Ping timeout: 260 seconds]
11:31
<
darix >
oh that reminds me to bother the eventmachine guys about the ipv6 crash
11:31
<
chris2 >
need to spec that first ;)
11:34
sush24 has quit [Quit: This computer has gone to sleep]
11:35
<
darix >
what is funny ... someone ported webmachine to ruby.
11:35
sush24 has joined #ruby-lang
11:36
<
judofyr >
darix: that is funny?
11:37
<
darix >
we definitely needed more webapp frameworks
11:37
<
judofyr >
"webapp frameworks"?
11:37
<
darix >
back in a few
11:38
jxie has quit [Quit: leaving]
11:39
Mon_Ouie has quit [Ping timeout: 248 seconds]
11:40
madish has joined #ruby-lang
11:40
imajes has quit [Excess Flood]
11:42
imajes has joined #ruby-lang
11:43
rcvalle has quit [Quit: Leaving]
11:45
shtirlic_ has quit [Remote host closed the connection]
11:49
<
gnufied >
chris2: oh hai
11:51
madish_ has joined #ruby-lang
11:51
sush24 has quit [Quit: This computer has gone to sleep]
11:54
madish has quit [Ping timeout: 255 seconds]
11:56
madish has joined #ruby-lang
11:58
madish has quit [Remote host closed the connection]
11:58
rcvalle has joined #ruby-lang
12:00
madish_ has quit [Ping timeout: 264 seconds]
12:02
antbody has joined #ruby-lang
12:03
leopard_me has joined #ruby-lang
12:06
Nisstyre-laptop has quit [Ping timeout: 248 seconds]
12:06
rhalff has quit [Ping timeout: 255 seconds]
12:08
ebouchut has quit [Quit: This computer has gone to sleep]
12:13
beiter has joined #ruby-lang
12:13
voker57 has quit [Remote host closed the connection]
12:14
kurko_ has quit [Ping timeout: 252 seconds]
12:15
shemerey has quit [Remote host closed the connection]
12:16
shemerey has joined #ruby-lang
12:18
io_syl has quit [Quit: Computer has gone to sleep.]
12:18
neocoin has quit [Remote host closed the connection]
12:19
leopard_me has quit [Ping timeout: 250 seconds]
12:22
dzhulk has quit [Quit: Leaving.]
12:22
leopard_me has joined #ruby-lang
12:22
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
12:27
leopard_me has quit [Ping timeout: 252 seconds]
12:31
leopard_me has joined #ruby-lang
12:35
gaveen has joined #ruby-lang
12:35
gaveen has joined #ruby-lang
12:35
gaveen has quit [Changing host]
12:36
leopard_me has quit [Ping timeout: 255 seconds]
12:38
gmci has joined #ruby-lang
12:38
gmci is now known as Guest94028
12:41
imajes has quit [Excess Flood]
12:43
imajes has joined #ruby-lang
12:47
sqbell has joined #ruby-lang
12:53
madish has joined #ruby-lang
12:56
beiter has quit [Quit: beiter]
12:57
ruurd has joined #ruby-lang
12:58
dreinull_ has joined #ruby-lang
12:58
sush24 has joined #ruby-lang
13:00
leopard_me has joined #ruby-lang
13:02
neocoin has joined #ruby-lang
13:03
setmeaway has quit [Read error: Connection reset by peer]
13:05
wyhaines has joined #ruby-lang
13:06
banisterfiend has joined #ruby-lang
13:06
setmeaway has joined #ruby-lang
13:06
shemerey has quit [Quit: Leaving...]
13:07
leopard_me has quit [Ping timeout: 248 seconds]
13:07
wyhaines has quit [Read error: Connection reset by peer]
13:07
wyhaines has joined #ruby-lang
13:11
leopard_me has joined #ruby-lang
13:13
socialcoder has joined #ruby-lang
13:13
<
socialcoder >
I need to practice ruby
13:13
<
socialcoder >
do you know where I can find sample ruby apps
13:14
<
socialcoder >
that I can practice
13:14
<
socialcoder >
I know I can fork at github, but I want some simple tutorials so I know what I am typing
13:15
sailias has joined #ruby-lang
13:15
x0F has quit [Disconnected by services]
13:15
x0F_ has joined #ruby-lang
13:15
x0F_ is now known as x0F
13:15
<
socialcoder >
thatsnot what I am looking at
13:16
<
socialcoder >
I am already learning ruby elsewhere
13:16
<
socialcoder >
I am looking for sample codes
13:16
<
socialcoder >
that I can re-type and practice
13:16
leopard_me has quit [Ping timeout: 255 seconds]
13:17
<
yorickpeterse >
You don't learn coding by just re-typing what somebody else wrote
13:17
<
socialcoder >
I know
13:17
<
yorickpeterse >
All you learn from that is the syntax while the mindset is much more important
13:17
<
socialcoder >
read above - I am already learning ruby elsewhere
13:17
<
socialcoder >
python has this series called invent with pythoin
13:18
<
socialcoder >
a series of games
13:18
<
socialcoder >
was wondering if ruby has something similar
13:18
<
socialcoder >
sec banister
13:19
leopard_me has joined #ruby-lang
13:19
srbaker has joined #ruby-lang
13:20
rhalff has joined #ruby-lang
13:21
srbaker has quit [Client Quit]
13:27
rsl__ has joined #ruby-lang
13:29
jonathangreenber has joined #ruby-lang
13:30
jonathangreenber has quit [Remote host closed the connection]
13:31
dzhulk has joined #ruby-lang
13:32
ruurd has quit [Quit: Leaving...]
13:32
rhalff has quit [Ping timeout: 245 seconds]
13:38
runeb has joined #ruby-lang
13:39
sailias has quit [Quit: Leaving.]
13:42
imajes has quit [Excess Flood]
13:42
socialcoder has quit []
13:42
imajes has joined #ruby-lang
13:43
breakingthings has joined #ruby-lang
13:43
shemerey has joined #ruby-lang
13:43
mistym has joined #ruby-lang
13:43
mistym has quit [Changing host]
13:43
mistym has joined #ruby-lang
13:44
wyhaines has quit [Read error: Connection reset by peer]
13:44
wyhaines_ has joined #ruby-lang
13:46
banisterfiend has quit [Read error: Connection reset by peer]
13:47
<
whitequark >
hey yorickpeterse
13:47
<
whitequark >
remember we talked about diffable inspect for to_sexp?
13:53
lcdhoffman has joined #ruby-lang
13:56
slyphon has quit [Ping timeout: 245 seconds]
13:57
mistym has quit [Remote host closed the connection]
14:06
dzhulk has quit [Quit: Leaving.]
14:09
wyhaines_ has quit [Remote host closed the connection]
14:09
tentimes has joined #ruby-lang
14:11
Banistergalaxy has quit [Read error: Connection reset by peer]
14:12
msch has joined #ruby-lang
14:14
tentimes has quit [Quit: Why is the alphabet in that order? Is it because of that song?]
14:14
<
yorickpeterse >
whitequark: ooh fancy
14:15
slyphon has joined #ruby-lang
14:15
sqbell has quit [Read error: Connection reset by peer]
14:16
mistym has joined #ruby-lang
14:16
mistym has quit [Changing host]
14:16
mistym has joined #ruby-lang
14:19
<
whitequark >
yorickpeterse: so. about diffable inspect. do you happen to have working code for that?
14:19
Banistergalaxy has joined #ruby-lang
14:19
<
whitequark >
I wrote some tests and bumped into the same problem
14:20
sailias has joined #ruby-lang
14:22
<
yorickpeterse >
eh yeah sort of, let me check
14:22
relic has joined #ruby-lang
14:25
runeb- has joined #ruby-lang
14:25
faustman has quit [Read error: Connection reset by peer]
14:25
runeb is now known as Guest8359
14:25
Guest8359 has quit [Killed (leguin.freenode.net (Nickname regained by services))]
14:25
runeb- is now known as runeb
14:25
faustman has joined #ruby-lang
14:30
slyphon has quit [Ping timeout: 245 seconds]
14:30
Guest94028 has quit [Ping timeout: 252 seconds]
14:30
lcdhoffman has quit [Quit: lcdhoffman]
14:30
<
yorickpeterse >
The output isn't different though
14:30
<
yorickpeterse >
but the usage is quite cool
14:31
<
yorickpeterse >
But being able to do `name, value = *some_node` is much better than `name, value = some_node.children`
14:31
gmci has joined #ruby-lang
14:31
gmci has quit [Client Quit]
14:37
<
whitequark >
yorickpeterse: yeah exactly
14:38
slyphon has joined #ruby-lang
14:38
<
whitequark >
also nested ones
14:38
<
whitequark >
receiver, (method, ), arguments, = *call_node
14:38
<
whitequark >
or even
14:38
<
whitequark >
receiver, (method, ), *arguments, block = *call_node
14:39
setmeaway has quit [Ping timeout: 255 seconds]
14:39
<
whitequark >
for s(:send, s(:symbol, :foo), s(:tuple, s(:arg1), s(:arg2)), s(:nil)
14:39
<
whitequark >
receiver, (method, ), (*arguments), block = *call_node
14:40
rippa has joined #ruby-lang
14:42
GarethAdams has quit [Quit: Leaving...]
14:42
rhalff has joined #ruby-lang
14:42
imajes has quit [Excess Flood]
14:42
<
yorickpeterse >
neat
14:43
imajes has joined #ruby-lang
14:44
anannie has quit [Remote host closed the connection]
14:46
setmeaway has joined #ruby-lang
14:49
stevechiagozie has joined #ruby-lang
14:49
postmodern has quit [Quit: Leaving]
14:49
yorickpeterse is now known as yorick-scum-mana
14:50
yorick-scum-mana is now known as agile-yorick
14:50
runeb has quit [Remote host closed the connection]
14:51
agile-yorick is now known as yorickpeterse
14:54
rue|w has quit [Remote host closed the connection]
14:54
quatauta has joined #ruby-lang
14:55
<
zzak >
good morning!
14:55
slyphon has quit [Ping timeout: 245 seconds]
14:57
mistym has quit [Remote host closed the connection]
14:57
rhalff has quit [Quit: Leaving]
15:00
relic has quit [Ping timeout: 245 seconds]
15:01
dafalcon has quit [Remote host closed the connection]
15:01
jxie has joined #ruby-lang
15:01
dr_bob has quit [Quit: Leaving.]
15:02
apeiros_ has quit [Remote host closed the connection]
15:02
quatauta has quit [Quit: Verlassend]
15:02
SkyEye has joined #ruby-lang
15:02
SkyEye has quit [Changing host]
15:02
SkyEye has joined #ruby-lang
15:03
gnufied has quit [Quit: Leaving.]
15:03
lcdhoffman has joined #ruby-lang
15:05
wyhaines has joined #ruby-lang
15:05
io_syl has joined #ruby-lang
15:05
<
unsymbol >
zzak: morning
15:06
gaveen has quit [Ping timeout: 250 seconds]
15:07
akahn_ has left #ruby-lang [#ruby-lang]
15:07
akahn has joined #ruby-lang
15:11
burgestrand has quit [Quit: Leaving.]
15:12
SkyEye is now known as gaveen
15:13
faustman has quit [Ping timeout: 252 seconds]
15:13
mistym has joined #ruby-lang
15:13
mistym has quit [Changing host]
15:13
mistym has joined #ruby-lang
15:13
faustman has joined #ruby-lang
15:17
imperator has joined #ruby-lang
15:19
gnufied has joined #ruby-lang
15:20
judofyr has quit [Remote host closed the connection]
15:20
judofyr has joined #ruby-lang
15:24
slyphon has joined #ruby-lang
15:24
banisterfiend has joined #ruby-lang
15:25
Mellett68 has joined #ruby-lang
15:27
blazes816 has quit [Quit: blazes816]
15:31
ebouchut has joined #ruby-lang
15:32
apeiros_ has joined #ruby-lang
15:33
outoftime has joined #ruby-lang
15:34
chessguy has joined #ruby-lang
15:35
enebo has joined #ruby-lang
15:40
runeb has joined #ruby-lang
15:42
imajes has quit [Excess Flood]
15:43
dr_bob has joined #ruby-lang
15:44
ebouchut has quit [Quit: This computer has gone to sleep]
15:44
imajes has joined #ruby-lang
15:45
mytrile has quit [Remote host closed the connection]
15:46
apeiros_ has quit [Remote host closed the connection]
15:47
apeiros_ has joined #ruby-lang
15:47
cored has quit [Quit: leaving]
15:47
antbody has quit [Quit: leaving]
15:48
slyphon has quit [Ping timeout: 245 seconds]
15:49
dr_bob has left #ruby-lang [#ruby-lang]
15:50
slyphon has joined #ruby-lang
15:52
cirenyc has joined #ruby-lang
15:53
lcdhoffman has quit [Quit: lcdhoffman]
15:54
spinagon has joined #ruby-lang
15:54
rippa has quit [Read error: Connection reset by peer]
15:59
gnufied has quit [Quit: Leaving.]
15:59
jhn has joined #ruby-lang
16:01
sush24 has quit [Ping timeout: 248 seconds]
16:03
sush24 has joined #ruby-lang
16:03
Uranio has joined #ruby-lang
16:04
atadesk has joined #ruby-lang
16:05
briantrust has joined #ruby-lang
16:08
banisterfiend has quit [Remote host closed the connection]
16:12
<
whitequark >
yorickpeterse: by the way, I'm working now at SSA part of Furnace
16:12
<
whitequark >
any chances you'd need that?
16:15
imajes has quit [Excess Flood]
16:15
gnufied has joined #ruby-lang
16:15
Mon_Ouie has joined #ruby-lang
16:16
imajes has joined #ruby-lang
16:17
lcdhoffman has joined #ruby-lang
16:22
dzhulk has joined #ruby-lang
16:22
ebouchut has joined #ruby-lang
16:24
ebouchut has quit [Client Quit]
16:24
ebouchut has joined #ruby-lang
16:31
s1n4 has joined #ruby-lang
16:32
s1n4 has quit [Client Quit]
16:32
gnufied has quit [Quit: Leaving.]
16:33
agarcia has quit [Quit: Konversation terminated!]
16:35
__BigO__ has joined #ruby-lang
16:45
<
yorickpeterse >
SSA?
16:46
zhul_mechanos has joined #ruby-lang
16:46
briantrust has quit [Remote host closed the connection]
16:47
<
yorickpeterse >
also I'm off for a bit
16:52
nettsundere has quit [Read error: Operation timed out]
16:56
briantrust has joined #ruby-lang
16:56
briantrust has quit [Remote host closed the connection]
16:56
stevechiagozie has quit [Quit: leaving]
16:57
stevechiagozie has joined #ruby-lang
16:58
davidbalber|away is now known as davidbalbert
17:00
Mon_Ouie has quit [Ping timeout: 248 seconds]
17:00
davidbalbert is now known as davidbalber|away
17:03
topriddy has joined #ruby-lang
17:03
ryanlecompte has joined #ruby-lang
17:04
cultureulterior_ has quit [Quit: cultureulterior_]
17:04
mutenewt has joined #ruby-lang
17:07
dafalcon has joined #ruby-lang
17:09
lcdhoffman has quit [Quit: lcdhoffman]
17:10
atadesk has quit [Quit: Leaving.]
17:10
lele|w has quit [Remote host closed the connection]
17:10
runeb has quit [Remote host closed the connection]
17:10
rins has joined #ruby-lang
17:12
<
imperator >
yorickpeterse, you've been a bit off for a while now :-P
17:12
lcdhoffman has joined #ruby-lang
17:16
_br_ has quit [Excess Flood]
17:18
_br_ has joined #ruby-lang
17:18
stevechiagozie has quit [Quit: Lost terminal]
17:20
CaptainJet has joined #ruby-lang
17:21
_br_ has quit [Excess Flood]
17:22
sn0wb1rd has quit [Quit: sn0wb1rd]
17:23
_br_- has joined #ruby-lang
17:26
sush24 has quit [Quit: This computer has gone to sleep]
17:31
glebm has joined #ruby-lang
17:33
blazes816 has joined #ruby-lang
17:34
zmack has quit [Remote host closed the connection]
17:35
brianpWins has joined #ruby-lang
17:35
gregmoreno has joined #ruby-lang
17:42
__butch__ has joined #ruby-lang
17:42
burgestrand has joined #ruby-lang
17:49
breakingthings has quit []
17:50
Banistergalaxy has quit [Ping timeout: 255 seconds]
17:52
Banistergalaxy has joined #ruby-lang
17:56
sn0wb1rd has joined #ruby-lang
17:56
sush24 has joined #ruby-lang
17:58
dc5ala has quit [Quit: Ex-Chat]
18:02
hahuang65 has joined #ruby-lang
18:05
loladiro has joined #ruby-lang
18:05
davidbalber|away is now known as davidbalbert
18:07
llaskin has joined #ruby-lang
18:08
cddr has joined #ruby-lang
18:08
cddr has quit [Remote host closed the connection]
18:09
havenn has joined #ruby-lang
18:11
stonerfish has joined #ruby-lang
18:12
Asher has joined #ruby-lang
18:12
runeb has joined #ruby-lang
18:13
jhn has quit [Quit: Page closed]
18:15
Uranio has quit [Quit: WeeChat 0.3.8]
18:16
lcdhoffman has quit [Quit: lcdhoffman]
18:16
topriddy has quit [Read error: No route to host]
18:18
davidbalbert is now known as davidbalber|away
18:18
lcdhoffman has joined #ruby-lang
18:21
mrsolo has joined #ruby-lang
18:21
rsl__ has left #ruby-lang [#ruby-lang]
18:21
rsl has joined #ruby-lang
18:22
alindeman has joined #ruby-lang
18:22
alindeman has left #ruby-lang ["/part"]
18:22
alindeman has joined #ruby-lang
18:23
rsl has quit [Changing host]
18:23
rsl has joined #ruby-lang
18:23
<
alindeman >
rsl: You're here
18:23
<
apeiros_ >
test failed. please reboot your system
18:24
alindeman has left #ruby-lang ["/part"]
18:28
swav has joined #ruby-lang
18:32
swav has quit [Ping timeout: 246 seconds]
18:33
glebm has quit [Quit: Computer has gone to sleep.]
18:34
<
imperator >
rake test
18:34
<
jaimef >
if node[:env_pod].eql?("pod2") or eql?"pod2" # ?
18:35
<
jaimef >
ahh so second one. thx
18:35
<
manveru >
why on earth would you use eql?
18:35
<
jaimef >
you propose == ?
18:35
<
manveru >
uhm, yeah?
18:36
<
manveru >
hell, if you compare more than once, use case even
18:36
<
jaimef >
ahh style.
18:37
<
jaimef >
.eql can never be an assignment operator however
18:37
<
manveru >
def eql?(foo); @x = foo; end
18:37
<
jaimef >
monkey patching aside
18:38
<
jaimef >
vs == getting written as =
18:38
<
manveru >
def ==(foo); @x = foo; end
18:38
<
jaimef >
yeah I could see how someone could mistakenly override .eql
18:38
<
manveru >
if "pod2" == node[:env_pod]
18:38
<
ericwood >
whoa...assignment on an overriden == ?!
18:38
<
manveru >
also you can turn warnings on
18:39
<
jaimef >
if you remove one of the = obviously
18:39
<
jaimef >
you mad bro? :P
18:39
<
ericwood >
jaimef: ohhai
18:39
<
manveru >
xi ~ % ruby -we 'node = {}; if "pod2" = node[:env_pod]; end'
18:39
<
manveru >
-e:1: syntax error, unexpected '=', expecting keyword_then or ';' or '\n'
18:40
<
manveru >
actually, don't need warnings for that
18:40
<
ericwood >
I see assignment in an if statement
18:41
<
jaimef >
manveru: so style is your point. ok
18:41
<
manveru >
== and eql? are not the same
18:42
<
epitron >
[1] pry(main)> BigDecimal.new("0.29") * 100
18:42
<
epitron >
sorry, that was in response to something from hours ago
18:42
<
epitron >
(floating point discussion)
18:43
<
ericwood >
not going to lie, I don't like the naming convention of eql? vs. equal?
18:43
<
ericwood >
really seems like a stumbling block
18:43
<
manveru >
yeah, that sillyness comes from lisp
18:44
<
manveru >
they have like 250 different forms of eql
18:44
<
ericwood >
I'm kind of glad I haven't needed either, I would have tripped and busted my face open
18:44
<
jaimef >
yeah they both yield different results on strings
18:44
<
zzak >
rb_equal, rb_eql, rb_obj_equal
18:44
<
ericwood >
if I'm understanding correctly, equal? is like comparing pointers
18:45
<
manveru >
xi ~ % ruby -e 'p [1.0 == 1, 1.0.eql?(1)]'
18:45
<
manveru >
[true, false]
18:45
<
jaimef >
and on strings?
18:45
briantrust has joined #ruby-lang
18:45
sepp2k has quit [Ping timeout: 245 seconds]
18:45
<
manveru >
what should it convert for strings?
18:46
faustman has quit [Ping timeout: 250 seconds]
18:46
<
jaimef >
simply put having to seek out the one difference in an entirely different class of object than the example given makes the point that they will both work in the context given., however there are known gotchas for int/float. thanks.
18:46
<
manveru >
ericwood: "Unlike ==, the equal? method should never be overridden by subclasses: it is used to determine object identity (that is, a.equal?(b) iff a is the same object as b).
18:47
<
manveru >
not only for int/float
18:47
<
manveru >
people almost never define eql?, but a lot define ==
18:47
<
ericwood >
yeah, I was just reading that SO answer
18:47
<
jaimef >
"that will work for this case but is ugly and nobody uses it"
18:48
<
manveru >
meh, use whatever you like, i probably won't have to use your code anyway :)
18:48
<
ericwood >
knock on wood
18:48
<
ericwood >
I'll go find you on github and submit pull requests :D
18:48
<
manveru >
i hardly use ruby these days, so probably true
18:50
<
jaimef >
thanks for the feedback it's welcomed.
18:50
<
jaimef >
if it's ugly it's wrong
18:50
<
havenn >
manveru: What do you use?
18:50
briantrust has quit [Remote host closed the connection]
18:51
<
manveru >
a lot of Go
18:52
Tabrenus has joined #ruby-lang
18:52
<
manveru >
i can't stand a lot of ruby code out there these days, people going insane with 100s of dependencies and bundler and crappy monkeypatches and no consideration for stdlib...
18:53
<
manveru >
the rails mindset is slowly spreading all across the rubysphere
18:54
loladiro has quit [Quit: loladiro]
18:54
<
jaimef >
OH: "you mean rails comes with its own language?"
18:54
<
manveru >
yeah, it's called yaml :P
18:55
<
mistym >
manveru: Yeah, I see so many people who learn "rails" and not so much "ruby"
18:55
<
havenn >
manveru: I haven't noticed that trend. I've seen a ton of dependency-less gems focused on minimalism lately. Guess there are both.
18:55
<
jaimef >
yaml > xml/json imho until you view diffs of it
18:55
<
manveru >
anw, still hopeful i can find a job that involves ruby without rails... but the job market doesn't really show me much in that direction
18:56
<
zzak >
manveru: i love the stdlib
18:56
<
manveru >
zzak: #ruby-lang is one of the last bastions of hope :)
18:57
<
zzak >
i just finished a major documentation patch for IRB, and submitted 3 commits for review for some bugs i found in IRB::Inspector, InputMethod and SLex
18:58
<
manveru >
havenn: what gems do you think of?
18:59
<
havenn >
manveru: I guess just then I was thinking of xpool, ichannel, and agent.
19:00
<
havenn >
manveru: Cause you mentioned Go! :P
19:01
AndChat| has joined #ruby-lang
19:01
sepp2k has joined #ruby-lang
19:02
AndChat- has joined #ruby-lang
19:04
Banistergalaxy has quit [Ping timeout: 252 seconds]
19:04
<
naquad >
how do i generate a gemspec file from Gem::Specification instance?
19:05
briantrust has joined #ruby-lang
19:05
loladiro has joined #ruby-lang
19:05
AndChat| has quit [Ping timeout: 252 seconds]
19:05
Tabrenus has quit [Quit: Tabrenus]
19:06
mutenewt has quit [Quit: WeeChat 0.3.5]
19:09
davidbalber|away is now known as davidbalbert
19:11
ebouchut has quit [Quit: This computer has gone to sleep]
19:12
briantrust has quit [Remote host closed the connection]
19:17
<
naquad >
can i somehow tell rdoc to don't process specific files?
19:17
outoftime has quit [Quit: Leaving]
19:18
sailias has quit [Ping timeout: 265 seconds]
19:18
<
zzak >
naquad: re rdoc you can use :stopdoc:
19:18
<
zzak >
or :nodoc: the class/module/method
19:18
<
naquad >
thats a binary file
19:18
<
naquad >
executable
19:19
cirenyc has quit [Quit: Leaving...]
19:19
CaptainJet has joined #ruby-lang
19:19
<
zzak >
you want rdoc task then
19:20
<
whitequark >
zzak: I particularly like how yard ignores all :nodoc: and :stopdoc: directives
19:20
<
zzak >
naquad: is it for a gem?
19:20
breakingthings has joined #ruby-lang
19:20
<
zzak >
whitequark: i havent used yard
19:23
<
whitequark >
zzak: well, rdoc.info >>> every other ruby documentation site, combined
19:26
<
zzak >
whitequark: really? better than the source?
19:26
ottbot has quit [Quit: WeeChat 0.3.9.2]
19:27
<
whitequark >
zzak: *website
19:29
loladiro has quit [Quit: loladiro]
19:29
m3nd3s has quit [Remote host closed the connection]
19:31
<
zzak >
personally i dont like iframes, but i would prefer to read the source or rdoc/ri first
19:31
<
zzak >
that is my opinion however
19:32
bradland has joined #ruby-lang
19:33
bondar has joined #ruby-lang
19:33
bondar has quit [Client Quit]
19:34
<
imperator >
manveru, same boat here (ruby w/o rails)
19:35
GarethAdams has joined #ruby-lang
19:35
loladiro has joined #ruby-lang
19:35
GarethAdams has quit [Client Quit]
19:36
<
zzak >
i think devops would be the way to go in that case
19:36
loladiro has quit [Client Quit]
19:39
tenderlove has joined #ruby-lang
19:41
<
drbrain >
naquad: rdoc should detect and ignore binary files automatically
19:41
<
naquad >
drbrain, in my case it doesn't
19:41
kurko_ has joined #ruby-lang
19:41
<
naquad >
rdoc_options -x libexec/.*
19:41
neocoin has quit [Remote host closed the connection]
19:42
<
drbrain >
naquad: … is it reading a binary file or a ruby executable file (#!)?
19:42
<
naquad >
drbrain, real executable
19:42
<
naquad >
wkhtmltopdf
19:43
<
drbrain >
huh, how odd
19:43
<
drbrain >
naquad: you can also touch libexec/.document and RDoc will ignore the directory without needing to remember -x
19:43
<
naquad >
hm, thanks. helped too
19:43
thorncp_ is now known as thorncp
19:45
bluepojo has joined #ruby-lang
19:45
<
zzak >
drbrain: i was looking for documentation on that
19:46
<
drbrain >
it might be missing :/
19:48
<
zzak >
aactually think i found it
19:52
llaskin has quit [Changing host]
19:52
llaskin has joined #ruby-lang
19:52
gaveen has quit [Remote host closed the connection]
19:52
imajes has quit [Excess Flood]
19:53
nerd has quit [Read error: Operation timed out]
19:53
gregmoreno has quit [Read error: Connection reset by peer]
19:54
gregmoreno has joined #ruby-lang
19:54
<
drbrain >
llaskin: a) you need to use identifiers that start with uppercase letters for class names
19:54
<
drbrain >
b) inheritance lets you do C.new.foo
19:55
loladiro has joined #ruby-lang
19:55
imajes has joined #ruby-lang
19:56
gregmore_ has joined #ruby-lang
19:57
atadesk has joined #ruby-lang
19:58
atadesk has left #ruby-lang [#ruby-lang]
19:59
sush24 has quit [Read error: Connection reset by peer]
19:59
gregmoreno has quit [Ping timeout: 244 seconds]
20:00
<
llaskin >
c.new.foo?
20:00
<
llaskin >
foo is part of b....
20:00
<
llaskin >
you mean c.new.bar?
20:00
ebouchut has joined #ruby-lang
20:00
<
llaskin >
is there any way to do a.new.foo?
20:00
spinagon has quit [Ping timeout: 248 seconds]
20:01
<
drbrain >
oh, yes, you can't do C.new.foo, I misread your inheritance
20:01
<
drbrain >
there is no way to do A.new.foo
20:02
<
drbrain >
llaskin: what you want is a misuse of inheritance
20:04
sush24 has joined #ruby-lang
20:05
loladiro has quit [Quit: loladiro]
20:05
holgerno has joined #ruby-lang
20:06
srbaker has joined #ruby-lang
20:07
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
20:08
slyphon has quit [Ping timeout: 245 seconds]
20:09
lsegal has joined #ruby-lang
20:10
nerd has joined #ruby-lang
20:10
__BigO__ has quit [Remote host closed the connection]
20:12
<
manveru >
what you want is modules
20:12
Mon_Ouie has joined #ruby-lang
20:12
Mon_Ouie has quit [Changing host]
20:12
Mon_Ouie has joined #ruby-lang
20:13
<
manveru >
zzak: know anybody who hires?
20:14
rcvalle has quit [Quit: Leaving]
20:14
srbaker has quit [Quit: Computer has gone to sleep.]
20:16
guns has joined #ruby-lang
20:18
swav has joined #ruby-lang
20:20
mpan has joined #ruby-lang
20:20
rcvalle has joined #ruby-lang
20:20
AndChat- has quit [Ping timeout: 252 seconds]
20:22
tenderlove has quit [Remote host closed the connection]
20:22
tenderlove has joined #ruby-lang
20:25
sush24 has quit [Quit: Leaving]
20:25
sheerun has quit [Ping timeout: 240 seconds]
20:27
tenderlove has quit [Ping timeout: 260 seconds]
20:29
Banistergalaxy has joined #ruby-lang
20:29
sheerun has joined #ruby-lang
20:31
bluepojo has left #ruby-lang [#ruby-lang]
20:37
codewrangler has joined #ruby-lang
20:39
Banistergalaxy has quit [Ping timeout: 255 seconds]
20:39
benanne has joined #ruby-lang
20:39
benanne has quit [Read error: Connection reset by peer]
20:40
loladiro has joined #ruby-lang
20:40
tdy has joined #ruby-lang
20:49
shemerey has joined #ruby-lang
20:52
tenderlove has joined #ruby-lang
20:54
tenderlove has quit [Read error: Connection reset by peer]
20:55
tenderlove has joined #ruby-lang
20:58
Banistergalaxy has joined #ruby-lang
21:02
nibbo has quit [Read error: Operation timed out]
21:08
mistym has quit [Remote host closed the connection]
21:09
swav has quit [Remote host closed the connection]
21:10
tenderlove has quit [Remote host closed the connection]
21:10
tenderlove has joined #ruby-lang
21:13
lcdhoffman has quit [Quit: lcdhoffman]
21:14
workmad3 has joined #ruby-lang
21:20
m3nd3s has joined #ruby-lang
21:22
havenn has quit [Read error: No route to host]
21:23
havenn has joined #ruby-lang
21:27
lcdhoffman has joined #ruby-lang
21:29
vlad_starkov has joined #ruby-lang
21:29
holgerno has quit [Quit: Leaving...]
21:30
holgerno has joined #ruby-lang
21:30
holgerno has quit [Client Quit]
21:31
ryanf_ has joined #ruby-lang
21:31
ryanf has quit [Quit: leaving]
21:32
llaskin has quit [Quit: Leaving.]
21:33
chessguy has quit [Remote host closed the connection]
21:33
wallerdev has joined #ruby-lang
21:34
kurko_ has quit [Ping timeout: 255 seconds]
21:34
llaskin has joined #ruby-lang
21:37
gregmore_ has quit [Remote host closed the connection]
21:38
Tabrenus has joined #ruby-lang
21:38
llaskin has quit [Changing host]
21:38
llaskin has joined #ruby-lang
21:38
m3nd3s has quit [Remote host closed the connection]
21:38
davidboy___ has left #ruby-lang [#ruby-lang]
21:42
ryanf_ has quit [Quit: broken pipes |||]
21:42
gregmoreno has joined #ruby-lang
21:45
gregmoreno has quit [Remote host closed the connection]
21:45
gregmoreno has joined #ruby-lang
21:48
Banistergalaxy has quit [Ping timeout: 255 seconds]
21:49
vlad_starkov has quit [Remote host closed the connection]
21:50
Banistergalaxy has joined #ruby-lang
21:51
blacktulip has quit [Remote host closed the connection]
21:52
burgestrand1 has joined #ruby-lang
21:55
burgestrand has quit [Ping timeout: 244 seconds]
21:56
burgestrand1 has quit [Client Quit]
21:59
rins has left #ruby-lang [#ruby-lang]
22:04
ebouchut has quit [Quit: This computer has gone to sleep]
22:08
lcdhoffman has quit [Quit: lcdhoffman]
22:09
Tabrenus has quit [Quit: Tabrenus]
22:09
kain has joined #ruby-lang
22:11
lcdhoffman has joined #ruby-lang
22:14
agile has quit [Remote host closed the connection]
22:18
faustman has joined #ruby-lang
22:19
aedorn has quit [Quit: Leaving]
22:22
atadesk has joined #ruby-lang
22:22
atadesk has quit [Client Quit]
22:24
runeb has quit [Remote host closed the connection]
22:25
bradland has quit [Quit: bradland]
22:26
swav has joined #ruby-lang
22:26
wyhaines has quit [Remote host closed the connection]
22:27
slyphon_ has joined #ruby-lang
22:27
<
tenderlove >
ged: ping!
22:28
lcdhoffman has quit [Quit: lcdhoffman]
22:31
Banistergalaxy has quit [Ping timeout: 245 seconds]
22:32
Banistergalaxy has joined #ruby-lang
22:33
__butch__ has quit [Quit: Leaving.]
22:35
<
apeiros_ >
tenderlove: just seeding an idea - order("? ?", params[:order_by_column], params[:order_direction]) (currently not possible due to order(*args))
22:37
slyphon_ has quit [Ping timeout: 245 seconds]
22:38
dzhulk has quit [Quit: Leaving.]
22:39
workmad3 has quit [Ping timeout: 256 seconds]
22:39
rsl has joined #ruby-lang
22:40
<
zenspider >
apeiros_: not now. dealing with shit.
22:40
rsl has quit [Client Quit]
22:40
rsl has joined #ruby-lang
22:44
ryanf has joined #ruby-lang
22:44
guns has quit [Quit: guns]
22:45
slyphon_ has joined #ruby-lang
22:46
dzhulk has joined #ruby-lang
22:47
<
zenspider >
chris2: congrats on bacon release
22:47
<
ryanf >
oh, awesome, didn't know there was a bacon release
22:47
AndChat| has joined #ruby-lang
22:47
<
chris2 >
one day i'll write a third testing framework
22:48
<
apeiros_ >
zenspider: as said, just seeding an idea
22:48
<
apeiros_ >
but good luck @ shit to be dealt with
22:48
cirenyc has joined #ruby-lang
22:49
Banistergalaxy has quit [Ping timeout: 252 seconds]
22:50
anannie has joined #ruby-lang
22:50
<
cirenyc >
Given a hash of key/value pairs, how can I filter an array of objects for one that responds to each key with the matching value?
22:51
<
chris2 >
array.find_all { |object| hash.all? { |k,v| object.__send__(k) == v } }
22:52
<
zenspider >
__send__ seems like overkill... and I'd add a respond_to?(k) first
22:52
<
tenderlove >
apeiros_: ya, I like that too. tbh, I'd prefer we get rid of the *args bs
22:52
<
chris2 >
array.find_all { |object| hash.all? { |k,v| object.__send__(k) == v } rescue false }
22:52
<
chris2 >
__send__ only is overkill if object isn't an activerecord :P
22:54
<
zenspider >
most objects aren't
22:54
<
cirenyc >
chris2: It's a plain object
22:54
<
zenspider >
rescue false... tsk tsk
22:54
<
chris2 >
most objects arent compared to hash methods either :P
22:54
runeb has joined #ruby-lang
22:54
<
zenspider >
ah. good. minor differences in the tests between minitest/bacon and bacon
22:55
<
chris2 >
we do nested contexts now. not much else should change
22:55
imperator has quit [Read error: Connection reset by peer]
22:56
imperator has joined #ruby-lang
22:57
<
zenspider >
I passed all the new tests w/o changes... so that's good
22:57
breakingthings has quit []
22:57
<
zenspider >
still have a bug with bare should.x lines... hard to figure that one out because teh object inspects are so ugly
22:58
<
chris2 >
what test fails?
22:58
<
zenspider >
and I don't support multiple before/after in a single context... but that's the only real difference
22:58
<
zenspider >
this: should.raise(Interrupt) { raise "Error" }
22:58
davidbalbert is now known as davidbalber|away
22:58
<
zenspider >
and the equivalent for throw
22:59
<
zenspider >
I think I'm doing something different with my top level should from bacon's
22:59
<
zenspider >
I'm getting an anon class bitching about not having raise?
22:59
<
zenspider >
NoMethodError: undefined method `raise?' for #<#<Class:0x10dffae98>:0x10dfd6e30>
22:59
<
chris2 >
its not a toplevel should
22:59
<
chris2 >
but a bacon context should
23:00
Hakon has joined #ruby-lang
23:00
vlad_starkov has joined #ruby-lang
23:01
<
zenspider >
I implemented the shared behavior as modules :P
23:02
<
chris2 >
possible :)
23:02
<
chris2 >
i think the whole .should stuff is too magic by now :P
23:02
davidbalber|away is now known as davidbalbert
23:02
runeb has quit [Ping timeout: 245 seconds]
23:03
<
zenspider >
yeah. I was only doing this as a POC in response to the tweets about minitest/spec adding too many methods to Object
23:03
<
zenspider >
which I think is horseshit. but whatever. easy to show that it is flexible enough to do whatever you want
23:03
<
chris2 >
well, bacon adds a few global method
23:04
<
chris2 >
but they are hardly controversal imo
23:04
<
chris2 >
people using activesupport should shut up ;)
23:04
<
chris2 >
but the should proxy is too magic
23:04
<
zenspider >
hah. so true
23:04
solars has quit [Ping timeout: 250 seconds]
23:04
<
chris2 >
it looked kinda nice tho
23:04
vlad_starkov has quit [Ping timeout: 252 seconds]
23:05
<
zenspider >
in some ways bacon is messier than minitest/spec since I prefix my methods must/wont and bacon adds extra predicate methods ... but either way... yeah. activesupport invalidates all
23:05
<
zenspider >
it does look nice. one entry point is pretty
23:06
<
zenspider >
I don't like the indirection personally, but it is only 1/2 hops off so it's still easy to debug. rspec is just WAY too hard for me to follow
23:06
<
zenspider >
I'm simply not smart enough
23:06
<
chris2 >
oh, bacon is easy to debug
23:06
<
chris2 >
in doubt you add a few p to the tests :P
23:06
<
chris2 >
but i feel it still contains too many antipatterns
23:07
<
zenspider >
so... that test. should it have :depth zero and be hitting #it instead?
23:07
<
chris2 >
e.g. i think after/before suck
23:07
<
chris2 >
zenspider: it hits the should in context
23:07
<
zenspider >
I didn't like that you have multiple. I just map to setup/teardown methods so you only get one
23:07
<
zenspider >
right... but that looks like it either hits it or supers
23:08
<
zenspider >
and I'm guessing it is hitting it
23:08
<
chris2 >
depth == 0 is block definition
23:08
<
zenspider >
da fuck...
23:08
<
chris2 >
the .raise? method is in context :)
23:08
<
zenspider >
I MUST be doing something tweaky somewhere
23:09
<
zenspider >
so my should returns a ValueMonad instance... that has raise? defined... but my method missing is on some anon class instance... grrr
23:09
slyphon_ has quit [Ping timeout: 244 seconds]
23:10
<
chris2 >
i dont make anon classes ;)
23:11
<
rue >
Monad mentioned
23:11
<
zenspider >
this error message is way less than helpful. I can't figure out where the fuck it is
23:11
Hakon has quit [Quit: Leaving...]
23:12
davidbalbert is now known as davidbalber|away
23:12
<
zenspider >
ooooh... it's self at the time of the should. fucking implied reciever
23:12
<
zenspider >
right. need block support reversal or something
23:12
Hakon has joined #ruby-lang
23:12
<
chris2 >
dont you have a @ctx if you map to methods or something?
23:14
judofyr has quit [Ping timeout: 252 seconds]
23:17
Hakon has quit [Ping timeout: 264 seconds]
23:18
swav has quit [Remote host closed the connection]
23:18
dzhulk has quit [Quit: Leaving.]
23:20
<
zenspider >
chris2: what do you mean by map to methods?
23:20
<
chris2 >
well, you make every it/should a method, no?
23:22
davidbalber|away is now known as davidbalbert
23:22
<
zenspider >
it, yes. should, no
23:22
<
chris2 >
well, top-level should
23:22
<
chris2 >
bacon never does that
23:22
<
chris2 >
so my self is the context, and yours is the instance
23:23
<
chris2 >
so you need to define the raise? somewhere else
23:28
Weems has joined #ruby-lang
23:29
runeb has joined #ruby-lang
23:29
srbaker has joined #ruby-lang
23:32
swav has joined #ruby-lang
23:32
imajes has quit [Excess Flood]
23:32
imajes has joined #ruby-lang
23:33
slyphon_ has joined #ruby-lang
23:34
AndChat| has quit [Ping timeout: 252 seconds]
23:35
<
zenspider >
ooookay... I made a subclass of ValueMonad called SelfMonad that points at itself. Then I made #should on Spec return a new SelfMonad
23:35
<
zenspider >
now I pass all tests (that I want to pass)
23:36
<
zenspider >
12 diffs against your main test file
23:37
<
cirenyc >
If I have data = { blah: "blah" } and pass that in to SomeClass.create(data), the next time I print data it's a different hash.
23:37
<
zenspider >
OMG I LOVE BASE. I WISH EVERYTHING WERE NAMED BASE
23:37
runeb has quit [Ping timeout: 246 seconds]
23:38
<
zenspider >
cirenyc: different hash or it has different stuff?
23:38
<
zenspider >
look at the object_id
23:38
<
zenspider >
cirenyc: yeah. same hash... different contents.
23:38
<
zenspider >
needs to dup at the very least
23:39
<
cirenyc >
yes, same object_id
23:39
<
cirenyc >
but what in that code is causing it to change?
23:39
<
zenspider >
chris2: you have 2 regexp tests commented out
23:39
<
zenspider >
cirenyc: symbolize_keys! at the very least
23:39
<
zenspider >
chris2: they prolly shouldn't be. I'm guessing they pass fine
23:40
<
cirenyc >
ah, okay. interesting...thanks.
23:41
<
chris2 >
i think that was a warning in ruby 1.8?
23:41
<
zenspider >
maybe 1.9... I'm testing against 1.8 and I'm clean
23:41
<
zenspider >
testing against 1.9...
23:41
<
zenspider >
hrm... nope
23:42
<
zenspider >
now... I just need an assertion count and I'm golden. :P
23:42
<
imperator >
all your base belong to us zenspider
23:42
<
zenspider >
imperator: pretty much.
23:42
<
chris2 >
>> "foo" =~ "foo"
23:42
<
chris2 >
TypeError: type mismatch: String given
23:42
<
zenspider >
maybe I'm passing less than I think I am :P
23:42
<
zenspider >
I'll let you know once I wire up the assertion count :P
23:43
<
chris2 >
i think it fails for the wrong reason
23:43
<
chris2 >
why does both String =~ Regexp and Regexp =~ String btw?
23:44
<
zenspider >
why do they exist? or?
23:44
<
zenspider >
I assume just so you don't have to bother thinking about it.
23:44
<
chris2 >
its very confusing
23:44
<
blazes816 >
to not have to think about it?
23:45
<
chris2 >
since only regexp =~ string creates local bindings for match names
23:45
<
chris2 >
but case uses string =~ regexp
23:45
<
blazes816 >
that's interesting, I did not realize that
23:45
<
chris2 >
and heck, how did one trigger that warning "string given, regexp expected"?
23:45
<
zenspider >
i figured one would just be a double dispatch to the other, no?
23:45
<
chris2 >
not for local variables
23:46
<
zenspider >
shows what I know
23:46
Teddy2steper has joined #ruby-lang
23:46
<
zenspider >
chris2: tenderlove has doubts about that
23:47
<
zenspider >
I have yet to test the theory tho
23:47
<
chris2 >
you didnt know: /(?<foo>...)spider/ =~ "zenspider"; foo.should.equal "zen"
23:47
<
zenspider >
I barely ever use 1.9 honestly
23:47
<
chris2 >
i barely use ruby these days :P
23:47
<
zenspider >
I test against it so my fucking strings encode. that's about it
23:47
<
zenspider >
encodings turn me off
23:48
<
chris2 >
(i use 1.9 only tho)
23:48
zhul_mechanos has quit [Quit: zhul_mechanos]
23:49
<
zenspider >
chris2: what's the point of spec_nontrue.rb ? specifically... what's the point of top-level shoulds ?
23:49
FiXato has quit [Ping timeout: 276 seconds]
23:50
<
chris2 >
for use in irb or xmp
23:50
srbaker has quit [Quit: Computer has gone to sleep.]
23:51
<
zenspider >
=== Differences with Bacon:
23:51
<
zenspider >
* Object#should doesn't work outside of describe. Not sure what that's for.
23:51
<
zenspider >
* Tests are no longer order dependent. This is a Good Thing™.
23:51
<
zenspider >
* Only one before/after block per describe (ie, they're just methods again).
23:51
<
zenspider >
so... not bad
23:52
nick_h has quit [Read error: Operation timed out]
23:53
<
tenderlove >
minibacon?
23:53
<
chris2 >
its bigger than bacon :P
23:54
<
zenspider >
NO IT IS NOT
23:55
<
zenspider >
I'm less than half the size!
23:55
swav has quit [Ping timeout: 252 seconds]
23:56
<
tenderlove >
bacontest?
23:56
spuk has joined #ruby-lang
23:56
<
tenderlove >
unit bacon?
23:56
<
tenderlove >
actually, I like "bacon unit"
23:57
<
zenspider >
I'll give you a bacon unit
23:57
<
tenderlove >
sounds like an emergency bacon delivery system
23:57
<
zenspider >
I'll give you an emergency bacon delivery system...