2014-07-17 22:52
closer changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
00:24
hsbt_away is now known as hsbt
00:26
charliesome has quit [Quit: zzz]
00:31
Obfuscate has joined #ruby-core
00:32
charliesome has joined #ruby-core
00:41
yugui has joined #ruby-core
00:54
hsbt is now known as hsbt_away
00:54
hsbt_away is now known as hsbt
00:59
Aethenelle has quit [Quit: Aethenelle]
01:47
dvlwrk has joined #ruby-core
02:01
konsolebox has joined #ruby-core
02:10
konsolebox has quit [Quit: Leaving]
02:11
konsolebox has joined #ruby-core
03:08
yugui has quit [Remote host closed the connection]
03:11
yugui has joined #ruby-core
03:13
yugui has quit [Remote host closed the connection]
03:14
charliesome has quit [Quit: zzz]
03:16
charliesome has joined #ruby-core
03:31
yugui has joined #ruby-core
04:19
yugui has quit [Remote host closed the connection]
04:42
yugui has joined #ruby-core
04:47
znz_jp has quit [Quit: kill -QUIT $$]
04:51
znz_jp has joined #ruby-core
05:23
shinnya has quit [Ping timeout: 252 seconds]
07:05
konsolebox has quit [Ping timeout: 248 seconds]
07:09
konsolebox has joined #ruby-core
07:43
dvlwrk has quit [Ping timeout: 265 seconds]
07:49
dvlwrk has joined #ruby-core
07:50
travis-ci has joined #ruby-core
07:50
travis-ci has left #ruby-core [#ruby-core]
08:10
shinnya has joined #ruby-core
08:12
theotherstupidgu has joined #ruby-core
08:13
hanmac has joined #ruby-core
08:16
<
hanmac >
i dont know if its a bug or a feature of ruby, but why does it support for a case to have no value? like in "case; when true; end"
08:17
<
theotherstupidgu >
so this always would return nil
08:18
Philpax has joined #ruby-core
08:19
<
hanmac >
theotherstupidgu: no, only in my sample
08:19
dvlwrk has quit [Ping timeout: 265 seconds]
08:20
<
theotherstupidgu >
but case() takes nil as a value, how would it return anything?
08:20
<
theotherstupidgu >
other than nil
08:23
* theotherstupidgu
is waking up the giants
08:24
<
theotherstupidgu >
evan ?
08:24
<
hanmac >
if the case value is nil, then it does return the value from the first when which return true
08:25
<
hanmac >
"case; when nil; :nil;when false; :false; when true; :true; end" # => :true
08:25
<
theotherstupidgu >
i c
08:27
<
theotherstupidgu >
so "case; when true; :true; end" # => :true
08:28
heroux has joined #ruby-core
08:28
<
theotherstupidgu >
so i guess emty case evalutes to true, corret?
08:30
<
hanmac >
hm yeah ... imo it doesnt look to much after a feature because it can totally written with if then elsif too
08:31
<
theotherstupidgu >
"case; when true; p "1st true"; when true; p "2nd true"; end" # => "1st true"
08:31
<
theotherstupidgu >
wycats: opinon?
08:32
harrow has quit [Ping timeout: 248 seconds]
08:33
<
hanmac >
its same/similar as: "if true; p "1st true"; elsif true; p "2nd true"; end" # => "1st true"
08:33
<
theotherstupidgu >
yeah
08:34
<
hanmac >
imo its a misuse of case when an if construct would be better
08:34
<
theotherstupidgu >
i think that it might be case is using "if" code
08:34
<
theotherstupidgu >
thats why it is like tht
08:35
<
theotherstupidgu >
care to dig into the source?
08:36
<
hanmac >
hm i think its more in the parser than in the code itself ...
08:36
<
hanmac >
hm maybe it would help if i do a ticket on the ruby bug tracker
08:36
<
theotherstupidgu >
sure
08:39
<
hanmac >
then nobu would appear in a jump and then fix the problem in 10 seconds flat ;P
08:41
* theotherstupidgu
want to watch the patch monster yaaaaaay ^^
08:42
<
theotherstupidgu >
yugui thank you for doing an amazing job. I always wanted to say tht, its good i got a chance :)
08:47
yugui has quit [Remote host closed the connection]
08:48
theotherstupidgu has left #ruby-core [#ruby-core]
08:48
harrow has joined #ruby-core
08:49
theotherstupidgu has joined #ruby-core
08:50
yugui has joined #ruby-core
08:54
yugui has quit [Ping timeout: 240 seconds]
09:06
theotherstupidgu has left #ruby-core [#ruby-core]
09:06
theotherstupidgu has joined #ruby-core
09:10
Philpax has quit [Quit: Leaving]
09:35
charliesome has quit [Quit: zzz]
09:37
yugui has joined #ruby-core
09:57
charliesome has joined #ruby-core
10:06
zotherstupidguy has joined #ruby-core
10:21
yugui has quit [Remote host closed the connection]
10:31
hsbt is now known as hsbt_away
11:27
yugui has joined #ruby-core
11:27
<
yugui >
theotherstupidgu: :-)
11:27
yugui has quit [Client Quit]
11:31
hsbt_away is now known as hsbt
11:32
hsbt is now known as hsbt_away
11:32
hsbt_away is now known as hsbt
11:42
<
zotherstupidguy >
yugui: yoroshiku onegaishimasu :-)
12:07
zotherstupidguy has quit [Ping timeout: 255 seconds]
12:08
zotherstupidguy has joined #ruby-core
12:23
zotherstupidguy has quit [Ping timeout: 248 seconds]
12:25
zotherstupidguy has joined #ruby-core
12:48
zotherstupidguy has quit [Ping timeout: 245 seconds]
12:49
zotherstupidguy has joined #ruby-core
14:08
theotherstupidgu has left #ruby-core [#ruby-core]
14:19
ItSAN____ has quit [Read error: Connection reset by peer]
14:21
ItSANgo_ has joined #ruby-core
14:27
charliesome has quit [Quit: zzz]
14:29
enebo has joined #ruby-core
15:05
konsolebox has quit [Quit: Leaving]
15:05
konsolebox has joined #ruby-core
15:05
konsolebox has quit [Max SendQ exceeded]
15:05
konsolebox has joined #ruby-core
15:05
nagachika has joined #ruby-core
15:37
shinnya has quit [Ping timeout: 264 seconds]
15:45
dvlwrk has joined #ruby-core
15:54
zotherstupidguy has quit [Ping timeout: 256 seconds]
15:55
zotherstupidguy has joined #ruby-core
16:08
dvlwrk has quit [Ping timeout: 240 seconds]
16:19
nagachika has quit [Remote host closed the connection]
16:32
lopex has quit [Quit: Connection closed for inactivity]
16:33
konsolebox has quit [Ping timeout: 245 seconds]
17:17
Aethenelle has joined #ruby-core
17:24
zotherstupidguy has quit [Ping timeout: 245 seconds]
17:25
zotherstupidguy has joined #ruby-core
17:38
ItSANg___ has joined #ruby-core
17:42
zotherst1pidguy has joined #ruby-core
17:45
brixen_ has joined #ruby-core
17:46
zotherstupidguy has quit [*.net *.split]
17:46
DanKnox has quit [*.net *.split]
17:46
brixen has quit [*.net *.split]
17:46
ItSANgo_ has quit [*.net *.split]
17:47
hsbt has quit [*.net *.split]
17:47
harrow has quit [*.net *.split]
17:47
mkosaki has quit [*.net *.split]
17:47
maloik has quit [*.net *.split]
17:49
harrow has joined #ruby-core
17:49
maloik has joined #ruby-core
17:49
DanKnox_ has joined #ruby-core
17:49
mkosaki has joined #ruby-core
17:50
Aethenelle has quit [Read error: Connection reset by peer]
17:50
DanKnox_ is now known as DanKnox
17:53
Aethenelle has joined #ruby-core
17:55
hsbt has joined #ruby-core
17:57
zotherst1pidguy has quit [Ping timeout: 252 seconds]
17:58
zotherstupidguy has joined #ruby-core
18:04
zotherstupidguy has quit [Ping timeout: 245 seconds]
18:05
zotherstupidguy has joined #ruby-core
18:31
zotherstupidguy has quit [Read error: Connection reset by peer]
18:32
zotherstupidguy has joined #ruby-core
18:40
shinnya has joined #ruby-core
19:05
zotherstupidguy has quit [Ping timeout: 256 seconds]
19:05
zotherstupidguy has joined #ruby-core
19:11
zotherstupidguy has quit [Remote host closed the connection]
19:12
zotherstupidguy has joined #ruby-core
20:01
zotherstupidguy has quit [Ping timeout: 276 seconds]
20:02
zotherstupidguy has joined #ruby-core
20:20
zotherstupidguy has quit [Ping timeout: 264 seconds]
20:21
zotherstupidguy has joined #ruby-core
20:30
zotherstupidguy has quit [Ping timeout: 256 seconds]
20:43
zotherstupidguy has joined #ruby-core
20:47
zotherstupidguy has quit [Ping timeout: 256 seconds]
20:48
zotherstupidguy has joined #ruby-core
20:52
konsolebox has joined #ruby-core
20:52
zotherstupidguy has quit [Ping timeout: 246 seconds]
20:53
zotherstupidguy has joined #ruby-core
21:00
dvlwrk has joined #ruby-core
21:23
lopex has joined #ruby-core
21:37
zotherstupidguy has quit [Ping timeout: 244 seconds]
21:37
zotherstupidguy has joined #ruby-core
21:43
charliesome has joined #ruby-core
21:48
charliesome has quit [Ping timeout: 256 seconds]
22:05
enebo has quit [Quit: enebo]
22:25
tenderlove has quit [Quit: Leaving...]
22:26
tenderlove has joined #ruby-core
22:31
zotherstupidguy has quit [Remote host closed the connection]
22:32
zotherstupidguy has joined #ruby-core
22:38
zotherstupidguy has quit [Ping timeout: 244 seconds]
22:39
zotherstupidguy has joined #ruby-core
23:00
sarait has joined #ruby-core
23:10
sarait has quit [Ping timeout: 265 seconds]
23:26
charliesome has joined #ruby-core
23:28
zotherstupidguy has quit [Ping timeout: 252 seconds]
23:29
hsbt is now known as hsbt_away
23:30
charliesome_ has joined #ruby-core
23:33
charliesome has quit [Ping timeout: 256 seconds]
23:34
zotherstupidguy has joined #ruby-core
23:36
tenderlove has quit [Remote host closed the connection]
23:36
tenderlove has joined #ruby-core