00:01
djbkd has joined #ruby-lang
00:04
mikecmpbll has quit [Quit: i've nodded off.]
00:05
rramphal has quit [Quit: rramphal]
00:06
pixelhandler has joined #ruby-lang
00:10
lewix has quit [Ping timeout: 245 seconds]
00:12
ddv has quit [Ping timeout: 245 seconds]
00:17
ddv has joined #ruby-lang
00:18
ledestin has joined #ruby-lang
00:19
chouhoulis has quit [Ping timeout: 240 seconds]
00:19
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
00:21
jonathanmarvens has joined #ruby-lang
00:21
bantic has joined #ruby-lang
00:22
MikaAK has quit [Remote host closed the connection]
00:22
mikecmpbll has joined #ruby-lang
00:24
MikaAK has joined #ruby-lang
00:28
toastynerd has quit [Remote host closed the connection]
00:30
jonathanmarvens has quit [Ping timeout: 244 seconds]
00:30
bantic has quit [Quit: bantic]
00:36
spastorino has joined #ruby-lang
00:38
marr has quit [Read error: Connection reset by peer]
00:44
dm78 has quit [Remote host closed the connection]
00:45
mikecmpbll has quit [Quit: ciao.]
00:45
danijoo has quit [Read error: Connection reset by peer]
00:45
danijoo has joined #ruby-lang
00:46
lewix has joined #ruby-lang
00:46
lewix has quit [Changing host]
00:46
lewix has joined #ruby-lang
00:48
cnivolle has joined #ruby-lang
00:50
Guest12370 has quit [Remote host closed the connection]
00:53
AncientAmateur has joined #ruby-lang
00:53
sugihara has joined #ruby-lang
00:56
mistym has quit [Ping timeout: 244 seconds]
00:57
djbkd has quit [Remote host closed the connection]
00:59
MikaAK has quit [Remote host closed the connection]
01:00
simoz111117 has quit [Ping timeout: 240 seconds]
01:01
robbyoconnor has quit [Ping timeout: 240 seconds]
01:01
MikaAK has joined #ruby-lang
01:02
MikaAK has quit [Remote host closed the connection]
01:03
MikaAK has joined #ruby-lang
01:03
mistym has joined #ruby-lang
01:03
robbyoconnor has joined #ruby-lang
01:04
lewix has quit [Remote host closed the connection]
01:06
lewix has joined #ruby-lang
01:06
lewix has quit [Changing host]
01:06
lewix has joined #ruby-lang
01:07
cnivolle has quit [Remote host closed the connection]
01:09
MikaAK has quit [Remote host closed the connection]
01:11
MikaAK has joined #ruby-lang
01:11
mistym has quit [Remote host closed the connection]
01:11
knu has quit [Ping timeout: 240 seconds]
01:13
spuk has joined #ruby-lang
01:13
spuk_ has quit [Ping timeout: 240 seconds]
01:17
jonathanmarvens has joined #ruby-lang
01:18
araujo has joined #ruby-lang
01:18
araujo has joined #ruby-lang
01:18
tkuchiki has joined #ruby-lang
01:20
saarinen has quit [Quit: saarinen]
01:22
jonathanmarvens has quit [Ping timeout: 255 seconds]
01:24
sepp2k1 has quit [Read error: Connection reset by peer]
01:25
jonathanmarvens has joined #ruby-lang
01:25
djbkd has joined #ruby-lang
01:26
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
01:28
mistym has joined #ruby-lang
01:28
jaimef has quit [Excess Flood]
01:28
jaimef has joined #ruby-lang
01:29
araujo has quit [Quit: Leaving]
01:30
jarto has quit [Ping timeout: 244 seconds]
01:30
jonathanmarvens has quit [Ping timeout: 272 seconds]
01:30
lewix has quit [Ping timeout: 244 seconds]
01:31
lewix has joined #ruby-lang
01:31
lewix has quit [Changing host]
01:31
lewix has joined #ruby-lang
01:31
sugihara has quit [Remote host closed the connection]
01:33
johnny_rugger has joined #ruby-lang
01:33
|jemc| has joined #ruby-lang
01:38
x0f has quit [Ping timeout: 240 seconds]
01:39
toastynerd has joined #ruby-lang
01:39
x0f has joined #ruby-lang
01:39
djbkd has quit [Remote host closed the connection]
01:40
AncientAmateur has quit [Remote host closed the connection]
01:42
SkyChaser has joined #ruby-lang
01:43
toastynerd has quit [Ping timeout: 240 seconds]
01:43
karamazov has quit [Remote host closed the connection]
01:44
karamazov has joined #ruby-lang
01:46
dm78 has joined #ruby-lang
01:47
chouhoulis has joined #ruby-lang
01:48
karamazo_ has joined #ruby-lang
01:49
karamazov has quit [Ping timeout: 264 seconds]
01:49
danijoo has quit [Read error: Connection reset by peer]
01:50
AncientAmateur has joined #ruby-lang
01:50
danijoo has joined #ruby-lang
01:50
wallerdev has quit [Quit: wallerdev]
01:52
Cakey has joined #ruby-lang
01:53
SkyChaser has quit []
01:53
SkyChaser has joined #ruby-lang
01:54
ryez has joined #ruby-lang
01:55
woollyams has quit [Ping timeout: 272 seconds]
01:55
lewix has quit [Ping timeout: 240 seconds]
01:56
woollyams has joined #ruby-lang
01:57
Averna has joined #ruby-lang
01:57
Cakey has quit [Ping timeout: 245 seconds]
01:59
Cakey has joined #ruby-lang
02:01
sugihara has joined #ruby-lang
02:03
aero224 has quit [Remote host closed the connection]
02:04
pskosinski has quit [Quit: Til rivido Idisti!]
02:06
wallerdev has joined #ruby-lang
02:08
sugihara has quit [Ping timeout: 255 seconds]
02:08
spuk has joined #ruby-lang
02:08
yfeldblum has quit [Remote host closed the connection]
02:08
jsullivandigs has joined #ruby-lang
02:11
agrinb has quit [Remote host closed the connection]
02:12
agrinb has joined #ruby-lang
02:16
agrinb has quit [Ping timeout: 240 seconds]
02:17
toastynerd has joined #ruby-lang
02:18
dgaffney has joined #ruby-lang
02:18
chrisseaton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:22
sugihara has joined #ruby-lang
02:23
jonathanmarvens has joined #ruby-lang
02:24
sugihara has quit [Remote host closed the connection]
02:25
woollyams has quit [Ping timeout: 272 seconds]
02:28
toastynerd has quit [Remote host closed the connection]
02:32
kfpratt has joined #ruby-lang
02:33
andrewhl has quit [Quit: andrewhl]
02:33
shinnya has quit [Ping timeout: 255 seconds]
02:34
aero224 has joined #ruby-lang
02:38
diegoviola has joined #ruby-lang
02:39
toastynerd has joined #ruby-lang
02:42
gix has quit [Ping timeout: 240 seconds]
02:44
x0f has quit [Ping timeout: 245 seconds]
02:45
x0f has joined #ruby-lang
02:45
lewix has joined #ruby-lang
02:46
gix has joined #ruby-lang
02:50
dnewkerk-keyz has quit [Quit: dnewkerk-keyz]
02:50
sk_0 has joined #ruby-lang
02:51
jgpawletko has quit [Quit: jgpawletko]
03:00
pixelhandler has quit [Quit: pixelhandler]
03:00
saarinen has joined #ruby-lang
03:01
pixelhandler has joined #ruby-lang
03:03
wallerdev has quit [Quit: wallerdev]
03:08
knu has joined #ruby-lang
03:08
yfeldblum has joined #ruby-lang
03:12
agrinb has joined #ruby-lang
03:13
yfeldblum has quit [Ping timeout: 240 seconds]
03:17
knu has quit [Ping timeout: 255 seconds]
03:19
yfeldblum has joined #ruby-lang
03:22
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:22
woollyams has joined #ruby-lang
03:24
sugihara has joined #ruby-lang
03:27
rramphal has joined #ruby-lang
03:27
woollyams has quit [Ping timeout: 272 seconds]
03:29
sugihara has quit [Ping timeout: 264 seconds]
03:30
jonathanmarvens has quit []
03:30
woollyams has joined #ruby-lang
03:30
jsullivandigs has quit [Remote host closed the connection]
03:31
agrinb has quit [Ping timeout: 264 seconds]
03:31
agrinb has joined #ruby-lang
03:32
rramphal has quit [Quit: rramphal]
03:33
rramphal has joined #ruby-lang
03:33
adaleigh has quit [Read error: Connection reset by peer]
03:33
adaleigh has joined #ruby-lang
03:36
agrinb has quit [Ping timeout: 244 seconds]
03:37
kalehv has quit [Remote host closed the connection]
03:38
kek has quit [Remote host closed the connection]
03:38
kalehv has joined #ruby-lang
03:40
danijoo has quit [Read error: Connection reset by peer]
03:41
danijoo has joined #ruby-lang
03:42
mdub has joined #ruby-lang
03:42
kalehv has quit [Ping timeout: 240 seconds]
03:44
woollyams has quit [Ping timeout: 272 seconds]
03:46
mistym has quit [Remote host closed the connection]
03:49
jarto has joined #ruby-lang
03:49
dsaint-pierre has quit [Remote host closed the connection]
03:51
kfpratt has quit [Remote host closed the connection]
03:55
pixelhandler has quit [Quit: pixelhandler]
03:56
adaleigh has quit [Remote host closed the connection]
03:58
blowmage has quit [Ping timeout: 264 seconds]
03:58
freedrull has quit [Ping timeout: 240 seconds]
03:58
anekos has quit [Ping timeout: 240 seconds]
03:59
freedrull has joined #ruby-lang
03:59
spastorino has quit [Quit: Connection closed for inactivity]
04:01
duderonomy has joined #ruby-lang
04:02
ledestin has quit [Quit: ledestin]
04:03
blowmage has joined #ruby-lang
04:05
karamazo_ has quit [Remote host closed the connection]
04:06
karamazov has joined #ruby-lang
04:06
djbkd has joined #ruby-lang
04:07
tectonic has joined #ruby-lang
04:09
mister_integer has quit [Remote host closed the connection]
04:10
anekos has joined #ruby-lang
04:10
saarinen has quit [Ping timeout: 272 seconds]
04:11
karamazov has quit [Ping timeout: 264 seconds]
04:13
AncientAmateur has quit [Remote host closed the connection]
04:15
Mon_Ouie has quit [Remote host closed the connection]
04:16
jxie has quit [Quit: leaving]
04:17
spajus has joined #ruby-lang
04:19
lsegal has joined #ruby-lang
04:20
dsaint-pierre has joined #ruby-lang
04:20
tectonic has quit []
04:22
Miphix has joined #ruby-lang
04:24
mistym has joined #ruby-lang
04:24
dsaint-pierre has quit [Ping timeout: 240 seconds]
04:24
rh1n0 has joined #ruby-lang
04:25
rh1n0 has quit [Read error: Connection reset by peer]
04:25
pixelhandler has joined #ruby-lang
04:27
adaleigh has joined #ruby-lang
04:32
agrinb has joined #ruby-lang
04:34
yfeldblum has quit [Ping timeout: 244 seconds]
04:36
agrinb has quit [Ping timeout: 240 seconds]
04:37
lewix has quit [Remote host closed the connection]
04:38
lewix has joined #ruby-lang
04:39
kek has joined #ruby-lang
04:40
mister_integer has joined #ruby-lang
04:42
tectonic has joined #ruby-lang
04:43
kek has quit [Ping timeout: 244 seconds]
04:44
dgaffney has quit [Ping timeout: 240 seconds]
04:44
smstong has joined #ruby-lang
04:45
mister_integer has quit [Ping timeout: 272 seconds]
04:48
sugihara has joined #ruby-lang
04:48
mistym has quit [Ping timeout: 240 seconds]
04:49
hahuang61 has joined #ruby-lang
04:52
Lewix_ has joined #ruby-lang
04:53
ledestin has joined #ruby-lang
04:53
jg_ has joined #ruby-lang
04:53
mistym has joined #ruby-lang
04:54
smstong has quit []
04:54
smstong has joined #ruby-lang
04:55
lewix has quit [Ping timeout: 264 seconds]
05:00
alexju has joined #ruby-lang
05:02
dm78 has quit [Remote host closed the connection]
05:05
mdub has quit [Ping timeout: 272 seconds]
05:13
knu has joined #ruby-lang
05:16
yfeldblum has joined #ruby-lang
05:19
dnewkerk-keyz has joined #ruby-lang
05:20
x0f has quit [Ping timeout: 245 seconds]
05:21
dsaint-pierre has joined #ruby-lang
05:21
x0f has joined #ruby-lang
05:22
RobertBirnie has joined #ruby-lang
05:25
dsaint-pierre has quit [Ping timeout: 240 seconds]
05:29
kek has joined #ruby-lang
05:30
heftig has quit [Quit: Quitting]
05:33
agrinb has joined #ruby-lang
05:33
ur5us has quit [Remote host closed the connection]
05:34
kek has quit [Ping timeout: 264 seconds]
05:35
_ht has joined #ruby-lang
05:37
agrinb has quit [Ping timeout: 264 seconds]
05:41
relix has joined #ruby-lang
05:50
dsaint-pierre has joined #ruby-lang
05:50
JohnBat26 has joined #ruby-lang
05:51
willmarshall has joined #ruby-lang
05:51
wallerdev has joined #ruby-lang
05:52
Lewix_ has quit [Remote host closed the connection]
05:53
lcdhoffman has quit [Quit: lcdhoffman]
05:55
knu has quit [Ping timeout: 244 seconds]
05:59
lolmaus has joined #ruby-lang
06:00
rahul_j has joined #ruby-lang
06:05
woollyams has joined #ruby-lang
06:05
[spoiler] has joined #ruby-lang
06:06
ta has quit [Remote host closed the connection]
06:06
ta has joined #ruby-lang
06:07
rramphal has quit [Quit: rramphal]
06:08
ryez has quit [Ping timeout: 246 seconds]
06:09
rramphal has joined #ruby-lang
06:09
amerine has joined #ruby-lang
06:11
ta has quit [Ping timeout: 240 seconds]
06:14
tectonic has quit []
06:15
nofxx has quit [Remote host closed the connection]
06:15
pixelhandler has quit [Quit: pixelhandler]
06:15
wallerdev has quit [Ping timeout: 240 seconds]
06:16
wallerdev_ has joined #ruby-lang
06:16
Miphix has quit [Quit: Leaving]
06:16
AKASkip has joined #ruby-lang
06:16
wallerdev_ has quit [Read error: Connection timed out]
06:18
djbkd has quit [Remote host closed the connection]
06:19
arBmind has joined #ruby-lang
06:20
GBrawl has joined #ruby-lang
06:21
Miphix has joined #ruby-lang
06:28
majjoha has joined #ruby-lang
06:30
kek has joined #ruby-lang
06:34
agrinb has joined #ruby-lang
06:34
kek has quit [Ping timeout: 244 seconds]
06:35
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:38
agrinb has quit [Ping timeout: 245 seconds]
06:46
rramphal has quit [Quit: rramphal]
06:47
rramphal has joined #ruby-lang
06:47
Cakey has quit [Ping timeout: 264 seconds]
06:53
AKASkip has quit [Ping timeout: 264 seconds]
06:55
rramphal has quit [Quit: rramphal]
06:56
tectonic has joined #ruby-lang
06:58
danijoo has quit [Read error: Connection reset by peer]
06:58
danijoo has joined #ruby-lang
07:03
mistym has quit [Remote host closed the connection]
07:06
Mon_Ouie has joined #ruby-lang
07:06
Mon_Ouie has joined #ruby-lang
07:07
anekos has quit [Ping timeout: 255 seconds]
07:07
freedrull has quit [Ping timeout: 245 seconds]
07:08
freedrull has joined #ruby-lang
07:11
tectonic has quit []
07:11
anekos has joined #ruby-lang
07:12
tbuehlmann has joined #ruby-lang
07:12
m10234-or has joined #ruby-lang
07:13
tectonic has joined #ruby-lang
07:16
tectonic has quit [Client Quit]
07:16
jvgutten has joined #ruby-lang
07:18
m10234-or has left #ruby-lang [#ruby-lang]
07:21
qba73 has joined #ruby-lang
07:21
woollyams has quit [Ping timeout: 272 seconds]
07:24
soraher__ is now known as soraher
07:28
benlovell has joined #ruby-lang
07:29
AKASkip has joined #ruby-lang
07:30
kek has joined #ruby-lang
07:31
smstong has quit []
07:31
michd is now known as MichD
07:34
agrinb has joined #ruby-lang
07:35
kek has quit [Ping timeout: 264 seconds]
07:39
agrinb has quit [Ping timeout: 255 seconds]
07:39
faces has quit [Ping timeout: 240 seconds]
07:40
face has joined #ruby-lang
07:42
dsaint-pierre has quit [Remote host closed the connection]
07:42
mister_integer has joined #ruby-lang
07:44
kyb3r_ has joined #ruby-lang
07:46
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:47
mister_integer has quit [Ping timeout: 264 seconds]
07:47
x0f has quit [Ping timeout: 264 seconds]
07:50
jvgutten has quit [Remote host closed the connection]
07:50
danijoo has quit [Read error: Connection reset by peer]
07:51
danijoo has joined #ruby-lang
07:53
x0f has joined #ruby-lang
07:55
knu has joined #ruby-lang
08:01
elia has joined #ruby-lang
08:02
allomov has joined #ruby-lang
08:03
elia has quit [Client Quit]
08:05
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
08:05
mikecmpbll has joined #ruby-lang
08:07
lolmaus has quit [Remote host closed the connection]
08:10
Cakey has joined #ruby-lang
08:10
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:12
elia has joined #ruby-lang
08:12
allomov has quit [Remote host closed the connection]
08:13
dsaint-pierre has joined #ruby-lang
08:16
<
yorickpeterse >
morning
08:17
dsaint-pierre has quit [Ping timeout: 240 seconds]
08:18
andrewhl has joined #ruby-lang
08:19
danijoo has quit [Read error: Connection reset by peer]
08:19
ta has joined #ruby-lang
08:19
yfeldblum has quit [Ping timeout: 245 seconds]
08:20
danijoo has joined #ruby-lang
08:22
andrewhl has quit [Client Quit]
08:24
ddv has quit [Changing host]
08:24
ddv has joined #ruby-lang
08:25
Gil has joined #ruby-lang
08:27
yfeldblum has joined #ruby-lang
08:28
yfeldblum has quit [Remote host closed the connection]
08:28
yfeldblum has joined #ruby-lang
08:30
alexju has quit [Remote host closed the connection]
08:31
kek has joined #ruby-lang
08:31
dochi has joined #ruby-lang
08:34
ironhide_604 has joined #ruby-lang
08:34
rramphal has joined #ruby-lang
08:34
rramphal has quit [Client Quit]
08:35
|jemc| has quit [Ping timeout: 255 seconds]
08:35
relix has joined #ruby-lang
08:35
agrinb has joined #ruby-lang
08:36
kek has quit [Ping timeout: 255 seconds]
08:38
dnewkerk-keyz has quit [Quit: dnewkerk-keyz]
08:40
agrinb has quit [Ping timeout: 264 seconds]
08:42
marr has joined #ruby-lang
08:43
workmad3 has joined #ruby-lang
08:48
apeiros has quit []
08:50
arBmind has quit [Quit: Leaving.]
08:51
apeiros has joined #ruby-lang
08:59
cnivolle has joined #ruby-lang
09:00
mistym has joined #ruby-lang
09:04
mistym has quit [Ping timeout: 244 seconds]
09:04
arBmind has joined #ruby-lang
09:06
Sinco_ has joined #ruby-lang
09:08
<
numdig >
GOOOOOD MOOOORNING!
09:10
rahul_j has quit [Quit: rahul_j]
09:10
TvL2386 has joined #ruby-lang
09:12
arBmind has quit [Quit: Leaving.]
09:13
<
Sinco_ >
Hi, I'm new to Ruby but am currently trying to develop a small script to list some information about snapshots from the Amazon AWS API(aws-sdk-core gem). The API returns an array of hashes. I need to search that array of hashes to find the specific value of a hash if the hash contains the right key name. I've got this snippet working but it looks ugly, so wondering if there is a better way to do it: snapshot_name = (
09:13
<
Sinco_ >
snapshot.tags.select{|tag| tag['key'] == 'Name'}.count > 0) ? snapshot.tags.select{|tag| tag['key'] == 'Name'}[0].value : ''
09:13
<
Sinco_ >
Snippet: snapshot_name = (snapshot.tags.select{|tag| tag['key'] == 'Name'}.count > 0) ? snapshot.tags.select{|tag| tag['key'] == 'Name'}[0].value : ''
09:13
allomov has joined #ruby-lang
09:14
dsaint-pierre has joined #ruby-lang
09:14
<
canton7 >
Sinco_, pastie it
09:17
cnivolle has quit [Remote host closed the connection]
09:18
arBmind has joined #ruby-lang
09:18
dsaint-pierre has quit [Ping timeout: 240 seconds]
09:18
<
canton7 >
Sinco_, split that out into a temp var
09:18
symm- has quit [Ping timeout: 240 seconds]
09:19
<
Sinco_ >
canton7: Yeah, I know I can split it into a temp var, but isn't there are "prettier" way to perform the search to get the value?
09:20
chrisseaton has joined #ruby-lang
09:20
<
canton7 >
Sinco_, I'd do 'snapshot = snapshot.tags.find{ |tag| tag['key'] == 'Name'; snapshot_name = snapshot ? snapshot.value : ''
09:20
<
canton7 >
or some such
09:20
<
canton7 >
with correct syntax of course
09:20
<
canton7 >
(missing a }
09:21
<
Sinco_ >
canton7: Allright - Thanks for the help :)
09:23
cnivolle has joined #ruby-lang
09:24
adaleigh has quit [Remote host closed the connection]
09:25
adaleigh has joined #ruby-lang
09:26
adaleigh has quit [Read error: Connection reset by peer]
09:27
adaleigh has joined #ruby-lang
09:27
Cakey has quit [Ping timeout: 240 seconds]
09:31
SkyChaser has quit []
09:31
adaleigh has quit [Ping timeout: 255 seconds]
09:32
kek has joined #ruby-lang
09:33
arBmind has quit [Quit: Leaving.]
09:34
qba73 has quit [Remote host closed the connection]
09:35
qba73 has joined #ruby-lang
09:35
qba73 has quit [Remote host closed the connection]
09:36
agrinb has joined #ruby-lang
09:36
kek has quit [Ping timeout: 255 seconds]
09:40
Firecode has joined #ruby-lang
09:40
agrinb has quit [Ping timeout: 264 seconds]
09:41
<
Sinco_ >
canton7: That really made the code much cleaner:) But I noticed that you used tags.find instead of the tags.select that I used, can you explain why? Just wanting to learn :)
09:41
Firecode has left #ruby-lang [#ruby-lang]
09:43
stamina has joined #ruby-lang
09:44
cnivolle has quit [Remote host closed the connection]
09:46
kek has joined #ruby-lang
09:47
kek has quit [Read error: Connection reset by peer]
09:47
kek_ has joined #ruby-lang
09:48
bin7me has joined #ruby-lang
09:49
<
canton7 >
Sinco_, #select finds all the entires which match the filter, so you were having to select the first entry using [0]
09:49
rahul_j has joined #ruby-lang
09:49
<
canton7 >
..but you only used the first entry. #find is similar to #select, but it only returns the first entry which matches
09:50
<
canton7 >
(and returns nil if no such entry could be found)
09:50
<
canton7 >
so it better expresses what you're trying to do
09:50
<
Sinco_ >
canton7: Very cool and thanks a lot - Awesome input :)
09:50
<
canton7 >
and you get rid of a call to #count, and the [0], to boot
09:52
kek_ has quit [Ping timeout: 255 seconds]
09:55
adaleigh has joined #ruby-lang
09:57
adaleigh has quit [Read error: Connection reset by peer]
09:57
bruno- has joined #ruby-lang
09:57
adaleigh has joined #ruby-lang
10:00
postmodern has quit [Quit: Leaving]
10:02
adaleigh has quit [Ping timeout: 272 seconds]
10:04
cnivolle has joined #ruby-lang
10:05
mister_integer has joined #ruby-lang
10:05
znz_jp has quit [Ping timeout: 245 seconds]
10:08
elia has quit [Quit: Computer has gone to sleep.]
10:08
thisirs has joined #ruby-lang
10:10
mister_integer has quit [Ping timeout: 240 seconds]
10:10
arBmind has joined #ruby-lang
10:11
kek has joined #ruby-lang
10:12
Fushi has joined #ruby-lang
10:13
kek has quit [Read error: Connection reset by peer]
10:13
kek has joined #ruby-lang
10:13
sarkyniin has joined #ruby-lang
10:14
kyb3r_ has quit [Read error: Connection reset by peer]
10:14
dsaint-pierre has joined #ruby-lang
10:18
arBmind has quit [Quit: Leaving.]
10:19
kek has quit [Ping timeout: 264 seconds]
10:19
dsaint-pierre has quit [Ping timeout: 240 seconds]
10:20
arBmind has joined #ruby-lang
10:24
elia has joined #ruby-lang
10:32
x0f has quit [Ping timeout: 240 seconds]
10:33
x0f has joined #ruby-lang
10:33
arBmind has quit [Quit: Leaving.]
10:34
chrisseaton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:36
rahul_j has quit [Quit: rahul_j]
10:37
agrinb has joined #ruby-lang
10:41
agrinb has quit [Ping timeout: 272 seconds]
10:41
yfeldblum has quit [Ping timeout: 240 seconds]
10:46
elia has quit [Quit: Computer has gone to sleep.]
10:46
face has quit [Ping timeout: 244 seconds]
10:47
kek has joined #ruby-lang
10:47
face has joined #ruby-lang
10:48
retro|cz has quit [Ping timeout: 255 seconds]
10:48
kek_ has joined #ruby-lang
10:49
kek has quit [Read error: Connection reset by peer]
10:49
vondruch has joined #ruby-lang
10:49
elia has joined #ruby-lang
10:52
Averna has quit [Quit: Leaving.]
10:53
kek_ has quit [Ping timeout: 244 seconds]
10:57
Gil has quit [Ping timeout: 240 seconds]
10:58
adaleigh has joined #ruby-lang
11:01
benlovell has quit [Ping timeout: 255 seconds]
11:01
arBmind has joined #ruby-lang
11:02
adaleigh has quit [Ping timeout: 240 seconds]
11:06
elia has quit [Quit: Computer has gone to sleep.]
11:08
ur5us has joined #ruby-lang
11:09
yfeldblum has joined #ruby-lang
11:11
yfeldblu_ has joined #ruby-lang
11:11
Miphix has quit [Read error: Connection reset by peer]
11:12
Miphix has joined #ruby-lang
11:14
yfeldblum has quit [Ping timeout: 255 seconds]
11:15
yfeldblu_ has quit [Ping timeout: 240 seconds]
11:15
dochi has quit [Ping timeout: 240 seconds]
11:15
dsaint-pierre has joined #ruby-lang
11:16
kek has joined #ruby-lang
11:19
dsaint-pierre has quit [Ping timeout: 240 seconds]
11:21
benlovell has joined #ruby-lang
11:22
uncleBob has joined #ruby-lang
11:26
uncleBob has left #ruby-lang [#ruby-lang]
11:29
x0f has quit [Ping timeout: 255 seconds]
11:30
x0f has joined #ruby-lang
11:32
yfeldblum has joined #ruby-lang
11:32
numdig has joined #ruby-lang
11:37
yfeldblum has quit [Ping timeout: 272 seconds]
11:37
agrinb has joined #ruby-lang
11:41
agrinb has quit [Ping timeout: 240 seconds]
11:46
ldnunes has joined #ruby-lang
11:51
kek has quit [Remote host closed the connection]
11:51
x0f has quit [Ping timeout: 244 seconds]
11:52
kek has joined #ruby-lang
11:52
sugihara has quit [Quit: Leaving...]
11:52
x0f has joined #ruby-lang
11:55
ur5us has quit [Ping timeout: 255 seconds]
11:56
kek has quit [Ping timeout: 244 seconds]
11:58
dochi has joined #ruby-lang
11:58
workmad3 has quit [Ping timeout: 244 seconds]
11:58
ur5us has joined #ruby-lang
11:59
adaleigh has joined #ruby-lang
11:59
spastorino has joined #ruby-lang
11:59
kalehv has joined #ruby-lang
12:00
adaleigh has quit [Read error: Connection reset by peer]
12:00
adaleigh has joined #ruby-lang
12:02
ari-_-e has quit [Ping timeout: 244 seconds]
12:03
dsaint-pierre has joined #ruby-lang
12:03
dsaint-pierre has quit [Read error: Connection reset by peer]
12:04
dsaint-pierre has joined #ruby-lang
12:05
adaleigh has quit [Ping timeout: 264 seconds]
12:06
elia has joined #ruby-lang
12:06
ari-_-e has joined #ruby-lang
12:08
tkuchiki_ has joined #ruby-lang
12:10
tbuehlmann has quit [Quit: Leaving]
12:12
tkuchiki has quit [Ping timeout: 272 seconds]
12:12
gnufied has quit [Ping timeout: 272 seconds]
12:13
tkuchiki_ has quit [Ping timeout: 255 seconds]
12:15
johnny_rugger has joined #ruby-lang
12:16
gnufied has joined #ruby-lang
12:16
diegoviola has quit [Read error: Connection reset by peer]
12:16
gnufied has left #ruby-lang [#ruby-lang]
12:17
ur5us has quit [Remote host closed the connection]
12:22
kek has joined #ruby-lang
12:27
kek has quit [Ping timeout: 255 seconds]
12:27
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:34
ta has quit [Remote host closed the connection]
12:35
dsaint-pierre has quit [Remote host closed the connection]
12:35
ta has joined #ruby-lang
12:36
centrx has joined #ruby-lang
12:37
karamazov has joined #ruby-lang
12:38
melter has quit [Ping timeout: 264 seconds]
12:39
ta has quit [Ping timeout: 240 seconds]
12:41
kalehv has quit [Remote host closed the connection]
12:41
elia has quit [Quit: Computer has gone to sleep.]
12:42
kalehv has joined #ruby-lang
12:42
elia has joined #ruby-lang
12:43
lewix has joined #ruby-lang
12:44
jeffs has joined #ruby-lang
12:46
malconis has joined #ruby-lang
12:48
jeffs has quit [Ping timeout: 244 seconds]
12:50
melter has joined #ruby-lang
12:51
kalehv has quit [Remote host closed the connection]
12:52
rahul_j has joined #ruby-lang
12:58
workmad3 has joined #ruby-lang
12:59
AncientAmateur has joined #ruby-lang
12:59
jeffs has joined #ruby-lang
13:00
lewix has quit [Remote host closed the connection]
13:00
araujo has joined #ruby-lang
13:01
chouhoulis has quit [Remote host closed the connection]
13:01
adaleigh has joined #ruby-lang
13:03
dwknoxy has joined #ruby-lang
13:04
qba73 has joined #ruby-lang
13:04
cnivolle_ has joined #ruby-lang
13:06
adaleigh has quit [Ping timeout: 240 seconds]
13:06
dsaint-pierre has joined #ruby-lang
13:07
cnivolle has quit [Ping timeout: 240 seconds]
13:08
lolmaus has joined #ruby-lang
13:08
kfpratt has joined #ruby-lang
13:09
danijoo has quit [Quit: Leaving...]
13:10
kfpratt has quit [Remote host closed the connection]
13:11
johnny_rugger has joined #ruby-lang
13:14
lewix has joined #ruby-lang
13:15
tkuchiki has joined #ruby-lang
13:16
dochi has quit [Ping timeout: 240 seconds]
13:17
pskosinski has joined #ruby-lang
13:18
sarkyniin has quit [Quit: Quitte]
13:21
yfeldblum has joined #ruby-lang
13:23
alexju has joined #ruby-lang
13:23
kek has joined #ruby-lang
13:23
luiz_lha has quit [Remote host closed the connection]
13:23
luiz_lha has joined #ruby-lang
13:25
yfeldblum has quit [Ping timeout: 264 seconds]
13:25
AncientAmateur has quit [Remote host closed the connection]
13:27
nathanstitt has joined #ruby-lang
13:27
agrinb has joined #ruby-lang
13:27
kek has quit [Ping timeout: 245 seconds]
13:31
TvL2386 has quit [Remote host closed the connection]
13:32
agarie has joined #ruby-lang
13:33
AncientAmateur has joined #ruby-lang
13:34
sk_0 has quit [Quit: leaving]
13:36
luiz_lha has quit [Remote host closed the connection]
13:37
luiz_lha has joined #ruby-lang
13:37
lewix has quit [Quit: Leaving]
13:37
lewix has joined #ruby-lang
13:37
lewix has joined #ruby-lang
13:37
lewix has quit [Changing host]
13:37
diegoviola has joined #ruby-lang
13:39
kfpratt has joined #ruby-lang
13:39
dochi has joined #ruby-lang
13:43
chouhoulis has joined #ruby-lang
13:43
chouhoulis has quit [Remote host closed the connection]
13:43
chouhoulis has joined #ruby-lang
13:44
chris2 has quit [Ping timeout: 272 seconds]
13:47
javon has joined #ruby-lang
13:49
t4nk720 has joined #ruby-lang
13:50
Rickmasta has quit [Read error: Connection reset by peer]
13:51
elia has quit [Quit: Computer has gone to sleep.]
13:52
t4nk720 has quit [Client Quit]
13:54
elia has joined #ruby-lang
13:57
Sinco_ has quit [Quit: Leaving...]
13:58
agrinb has quit [Remote host closed the connection]
14:01
symm- has joined #ruby-lang
14:02
adaleigh has joined #ruby-lang
14:03
diegoviola has quit [Quit: WeeChat 0.4.3]
14:07
adaleigh has quit [Ping timeout: 264 seconds]
14:08
mister_integer has joined #ruby-lang
14:09
cnivolle_ has quit [Read error: Connection reset by peer]
14:09
cnivolle has joined #ruby-lang
14:13
mister_integer has quit [Ping timeout: 255 seconds]
14:13
dwknoxy has quit [Quit: Computer has gone to sleep.]
14:14
dochi has quit [Ping timeout: 244 seconds]
14:15
yfeldblum has joined #ruby-lang
14:16
dwknoxy has joined #ruby-lang
14:16
tbuehlmann has joined #ruby-lang
14:18
agrinb has joined #ruby-lang
14:19
yfeldblum has quit [Ping timeout: 244 seconds]
14:20
Steve_Miller has joined #ruby-lang
14:20
robmiller has joined #ruby-lang
14:21
[spoiler] has quit [Quit: Leaving]
14:21
Steve_Miller is now known as Steve_Ford
14:22
<
tbuehlmann >
we can read you
14:22
<
Steve_Ford >
sorry hi
14:23
shinnya has joined #ruby-lang
14:24
kek has joined #ruby-lang
14:27
micalexander has joined #ruby-lang
14:28
kek has quit [Ping timeout: 255 seconds]
14:29
dwknoxy has quit [Quit: Computer has gone to sleep.]
14:31
<
yorickpeterse >
yay writing papers
14:31
<
yorickpeterse >
and yay for waiting 15 years for Pandoc to compile
14:31
<
matti >
Yay, seeing happy yorickpeterse!
14:33
dm78 has joined #ruby-lang
14:34
<
yorickpeterse >
pffft I had my fun of messing around with gnuplot so I'm not really grumpy
14:35
<
yorickpeterse >
But writing papers is a bit annoying because you have to do it in academic English
14:35
<
matti >
What English is it?
14:35
<
yorickpeterse >
"We describe a system to accurately and reliably measure the performance of bla bla bla"
14:35
<
yorickpeterse >
Plain English: "We set up benchmarks yo"
14:35
<
matti >
The one with correct grammar and superb punctuation?
14:35
<
yorickpeterse >
Yeah and referring to everything in plural
14:35
<
yorickpeterse >
and using 789234 tables and references
14:36
<
yorickpeterse >
and having a footnotes section longer than the paper itself
14:36
dm78 has quit [Remote host closed the connection]
14:36
<
matti >
I love writing papers.
14:36
<
yorickpeterse >
I have 6 lines so far
14:36
<
matti >
Abstract the funniest part.
14:36
* matti
deep down is still an academic ;]
14:36
<
yorickpeterse >
wtf why the hell does pandoc need "crypto-random"
14:37
<
yorickpeterse >
I never did university so I suck at this
14:37
<
yorickpeterse >
I'll academify it once I'm done writing it in regular English
14:37
<
matti >
yorickpeterse: I dropped out, so I only semi suck ;]
14:37
shinnya has quit [Ping timeout: 240 seconds]
14:37
dm78 has joined #ruby-lang
14:38
mbj has joined #ruby-lang
14:38
<
yorickpeterse >
I did photography for 6 months, then quit
14:38
<
yorickpeterse >
you don't write papers in the photography world :P
14:39
bruno- has quit [Quit: leaving]
14:42
micalexander has left #ruby-lang [#ruby-lang]
14:42
mistym has joined #ruby-lang
14:43
lcdhoffman has joined #ruby-lang
14:43
dwknoxy has joined #ruby-lang
14:44
dm78 has quit [Remote host closed the connection]
14:44
shinnya has joined #ruby-lang
14:45
enebo has joined #ruby-lang
14:46
pskosinski_ has joined #ruby-lang
14:46
chris2 has joined #ruby-lang
14:47
mbj has quit [Quit: leaving]
14:48
mistym has quit [Remote host closed the connection]
14:48
AncientAmateur has quit [Remote host closed the connection]
14:49
shinnya has quit [Ping timeout: 240 seconds]
14:49
pskosinski has quit [Ping timeout: 264 seconds]
14:49
javon has quit [Ping timeout: 245 seconds]
14:50
AncientA_ has joined #ruby-lang
14:50
thmzlt has joined #ruby-lang
14:51
<
matti >
I suppose, depends on the type of photos ;p
14:51
<
matti >
"I am all into X-ray"
14:53
dochi has joined #ruby-lang
14:54
shinnya has joined #ruby-lang
14:55
AncientA_ has quit [Ping timeout: 260 seconds]
15:03
adaleigh has joined #ruby-lang
15:03
loincloth has joined #ruby-lang
15:04
robmiller has quit [Quit: Leaving.]
15:04
mistym has joined #ruby-lang
15:05
rh1n0 has joined #ruby-lang
15:07
ta has joined #ruby-lang
15:07
adaleigh has quit [Ping timeout: 244 seconds]
15:08
AKASkip has quit [Ping timeout: 244 seconds]
15:09
yfeldblum has joined #ruby-lang
15:10
jsullivandigs has joined #ruby-lang
15:11
dik_dak has joined #ruby-lang
15:12
dik_dak has quit [Remote host closed the connection]
15:13
dik_dak has joined #ruby-lang
15:13
yfeldblum has quit [Ping timeout: 240 seconds]
15:14
AncientAmateur has joined #ruby-lang
15:16
toretore has quit [Ping timeout: 264 seconds]
15:18
toretore has joined #ruby-lang
15:24
kek has joined #ruby-lang
15:28
Steve_Ford has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0.1/20140506152807]]
15:28
|jemc| has joined #ruby-lang
15:28
roelof has joined #ruby-lang
15:29
kek has quit [Ping timeout: 240 seconds]
15:29
<
roelof >
Are the any good books about ruby and OO programming so I learn more about sending messages to another object ?
15:29
mister_i_ has joined #ruby-lang
15:29
pskosinski_ is now known as pskosinski
15:30
mister_i_ has quit [Remote host closed the connection]
15:30
mister_i_ has joined #ruby-lang
15:30
agrinb has quit [Remote host closed the connection]
15:30
RobertBirnie has joined #ruby-lang
15:31
benlovell has quit [Ping timeout: 244 seconds]
15:31
<
centrx >
roelof, In some ways, message passing is just the same as method calling but a different way of thinking about it
15:32
skade has joined #ruby-lang
15:32
<
whitequark >
there's no method_missing in method calling.
15:35
dgaffney has joined #ruby-lang
15:35
<
canton7 >
and calling methods by name is sorta a grey area
15:36
<
whitequark >
not really. there's early binding ("method calling") and late binding ("message passing")
15:36
pglombardo has joined #ruby-lang
15:36
<
whitequark >
one allows you to resolve methods at runtime, other doesn't
15:37
dgaffney has quit [Remote host closed the connection]
15:37
<
canton7 >
I guess something like C# is both early and late bound then - methods can be called, or messages sent, depending on whether or not you're using the reflection API
15:37
dgaffney has joined #ruby-lang
15:38
javon has joined #ruby-lang
15:38
arBmind has quit [Quit: Leaving.]
15:38
<
roelof >
or a curried one but also that I find very difficult
15:42
kfpratt has quit [Remote host closed the connection]
15:42
x0f has quit [Ping timeout: 240 seconds]
15:42
heftig has joined #ruby-lang
15:43
<
roelof >
anyone has a example how I could do that ?
15:44
x0f has joined #ruby-lang
15:44
ascarter has joined #ruby-lang
15:44
AncientA_ has joined #ruby-lang
15:44
ascarter has quit [Max SendQ exceeded]
15:44
<
centrx >
roelof, Have a Calc instance contain a current @value (a number)
15:45
ascarter has joined #ruby-lang
15:46
<
centrx >
roelof, and I guess it would have a @state for whether the last method called was an operation or a number
15:46
gregf_ has quit [Quit: leaving]
15:46
<
centrx >
roelof, Define [:one, :two, :three, :four].each { |meth| define_method(meth) etc }
15:46
<
centrx >
roelof, But really it would be better to use methods and attributes like they are supposed to
15:46
<
canton7 >
roelof, obviously, don't define 'one', 'two', 'three', etc, by hand - use define_method
15:47
<
canton7 >
and you need some proper error-checking in operate()
15:47
AncientAmateur has quit [Ping timeout: 252 seconds]
15:48
<
roelof >
pfff and this schould be a beginner problem. Im now a few days busy
15:48
<
whitequark >
canton7: C# is early bound but the CLR is late bound.
15:48
<
roelof >
canton7: I will try to find info on define_method
15:48
<
canton7 >
whitequark, figures, thanks
15:50
rahul_j has quit [Quit: rahul_j]
15:50
gnufied has joined #ruby-lang
15:50
<
roelof >
canton7: you mean something like this : define_method (:one) { @one = 1 } ??
15:51
<
canton7 >
roelof, half way there :P
15:51
<
canton7 >
as in, create a hash of 'one' => 1, 'two' => 2, 'three' => 3, etc, and iterate over the hash, defining methods for each pair
15:52
robmiller has joined #ruby-lang
15:52
robmiller has quit [Client Quit]
15:53
<
canton7 >
more like the "real ultimate power" bit
15:54
<
roelof >
that what I meant
15:54
<
roelof >
thanks, I will try things out
15:56
<
canton7 >
roelof, do you understand how the example I sent you works?
15:56
bin7me has quit [Remote host closed the connection]
15:57
cnivolle has quit [Remote host closed the connection]
15:57
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:58
MikaAK has joined #ruby-lang
15:58
MikaAK1 has joined #ruby-lang
15:59
javon has quit [Ping timeout: 264 seconds]
15:59
dm78 has joined #ruby-lang
15:59
shinnya has quit [Ping timeout: 245 seconds]
15:59
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:59
<
roelof >
canton7: you mean the OO way ? I will also study that one
16:00
<
canton7 >
hmm? you haven't yet studied the example I sent?
16:00
kfpratt has joined #ruby-lang
16:00
mistym has quit [Remote host closed the connection]
16:01
<
roelof >
Can someone understand so quick something. Me not. I have to look very carefully at things and try some things
16:02
znz_jp has joined #ruby-lang
16:02
<
canton7 >
it doesn't do very much :P but fair enough
16:02
elia has quit [Quit: Computer has gone to sleep.]
16:03
mikecmpbll has quit [Ping timeout: 264 seconds]
16:03
MikaAK_ has joined #ruby-lang
16:03
rahul_j has joined #ruby-lang
16:03
adaleigh has joined #ruby-lang
16:04
<
roelof >
but what I see is that you have a variable sum which contains the solution and a function called operate which make the calculation or take care that for example 1 + 1 is calculated
16:06
mikecmpbll has joined #ruby-lang
16:08
adaleigh has quit [Ping timeout: 240 seconds]
16:08
toastynerd has quit [Remote host closed the connection]
16:08
allomov has quit [Remote host closed the connection]
16:08
elia has joined #ruby-lang
16:12
skade has quit [Quit: Computer has gone to sleep.]
16:12
ironhide_604 has quit [Ping timeout: 260 seconds]
16:13
javon has joined #ruby-lang
16:13
pglombardo has quit [Ping timeout: 264 seconds]
16:14
MikaAK2 has joined #ruby-lang
16:14
AncientAmateur has joined #ruby-lang
16:15
arBmind has joined #ruby-lang
16:16
bantic has joined #ruby-lang
16:17
elia has quit [Quit: Computer has gone to sleep.]
16:17
AncientA_ has quit [Ping timeout: 272 seconds]
16:18
yfeldblum has joined #ruby-lang
16:18
MikaAK2 has quit [Client Quit]
16:18
MikaAK2 has joined #ruby-lang
16:19
<
roelof >
canton7: am i at the right way ??
16:23
robmiller has joined #ruby-lang
16:24
robmiller has quit [Client Quit]
16:25
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:25
kek has joined #ruby-lang
16:26
djbkd has joined #ruby-lang
16:28
apeiros has quit [Remote host closed the connection]
16:29
apeiros has joined #ruby-lang
16:30
kek has quit [Ping timeout: 245 seconds]
16:30
__butch__ has joined #ruby-lang
16:32
elia has joined #ruby-lang
16:33
mister_integer has joined #ruby-lang
16:33
djbkd has quit [Remote host closed the connection]
16:33
mister_integer has quit [Read error: Connection reset by peer]
16:34
apeiros has quit [Ping timeout: 240 seconds]
16:34
mister_integer has joined #ruby-lang
16:34
dm78 has quit [Remote host closed the connection]
16:36
mister_i_ has quit [Ping timeout: 245 seconds]
16:41
djbkd has joined #ruby-lang
16:42
enebo has quit [Quit: enebo]
16:42
rahul_j has quit [Quit: rahul_j]
16:42
RobertBirnie has joined #ruby-lang
16:42
thisirs has quit [Remote host closed the connection]
16:44
AncientA_ has joined #ruby-lang
16:44
elia has quit [Quit: Computer has gone to sleep.]
16:46
pixelhandler has joined #ruby-lang
16:46
saarinen has joined #ruby-lang
16:47
Johz has joined #ruby-lang
16:47
AncientAmateur has quit [Ping timeout: 252 seconds]
16:48
mistym has joined #ruby-lang
16:49
jaimef has quit [Excess Flood]
16:50
jaimef has joined #ruby-lang
16:50
rahul_j has joined #ruby-lang
16:51
vondruch has quit [Read error: No route to host]
16:51
vondruch has joined #ruby-lang
16:52
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
16:52
another_guest has joined #ruby-lang
16:54
bantic has quit [Quit: bantic]
16:54
vpretzel_ has joined #ruby-lang
16:55
AKASkip has joined #ruby-lang
16:57
dm78 has joined #ruby-lang
16:57
vpretzel has quit [Ping timeout: 240 seconds]
16:57
vpretzel_ is now known as vpretzel
16:59
wallerdev has joined #ruby-lang
16:59
<
another_guest >
Hey guys. I read the tutorial on Rubygems about creating gems, but I can't seem to find a good Requirements & Best Practices list or something of the sort. For example, if my gem patches Class, how do I include that in the gem? Just write it as it is? I've seen someone write a module and then do Object.send(:include, module). Is that a standard way
16:59
<
another_guest >
of doing it?
17:02
jarto has quit [Ping timeout: 255 seconds]
17:02
elia has joined #ruby-lang
17:03
__JokerDoom has joined #ruby-lang
17:03
<
Mon_Ouie >
You can just define methods on class. You might consider using refinements so that those monkey patches aren't always enabled.
17:03
<
wallerdev >
it worries me that your gem patches Class lol
17:04
<
another_guest >
Why's that?
17:04
adaleigh has joined #ruby-lang
17:04
roelof has quit [Quit: Page closed]
17:05
<
wallerdev >
because of the potential to break other libraries
17:05
elia has quit [Client Quit]
17:07
_JokerDoom has quit [Ping timeout: 264 seconds]
17:07
toastynerd has joined #ruby-lang
17:08
<
another_guest >
What are some of the ways it can break other libraries that I should watch out for?
17:08
<
wallerdev >
just changing the behavior of any existing method can break things
17:08
adaleigh has quit [Ping timeout: 240 seconds]
17:09
<
Mon_Ouie >
And since monkey patches aren't namespaced, the potential that someone else decides to define that method. Hence my suggestion to use refinements.
17:09
johnny_rugger has joined #ruby-lang
17:11
elia has joined #ruby-lang
17:11
yfeldblum has quit [Ping timeout: 244 seconds]
17:11
MikaAK3 has joined #ruby-lang
17:13
vpretzel has quit [Quit: Adios!]
17:14
AncientAmateur has joined #ruby-lang
17:14
Pyrotecnix has joined #ruby-lang
17:17
mistym has quit [Read error: Connection timed out]
17:17
<
another_guest >
I see, thanks
17:18
AncientA_ has quit [Ping timeout: 260 seconds]
17:18
<
whitequark >
do jruby or rbx even implement refinements?
17:18
x0f has quit [Ping timeout: 240 seconds]
17:18
toastynerd has quit [Ping timeout: 245 seconds]
17:19
x0f has joined #ruby-lang
17:19
<
another_guest >
Using refinements will make the gem not compatible with 1.9.3, right?
17:19
toastynerd has joined #ruby-lang
17:19
<
whitequark >
and all other implementations of ruby
17:20
rahul_j has quit [Quit: rahul_j]
17:21
rahul_j has joined #ruby-lang
17:22
mister_integer has quit [Remote host closed the connection]
17:22
mister_integer has joined #ruby-lang
17:26
kek has joined #ruby-lang
17:27
mistym has joined #ruby-lang
17:31
kek has quit [Ping timeout: 255 seconds]
17:35
djbkd has quit [Remote host closed the connection]
17:36
workmad3 has quit [Ping timeout: 245 seconds]
17:36
sarkyniin has joined #ruby-lang
17:36
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
17:37
djbkd has joined #ruby-lang
17:37
javon has left #ruby-lang [#ruby-lang]
17:39
MikaAK_ has quit [Remote host closed the connection]
17:39
loincloth has quit [Remote host closed the connection]
17:39
GBrawl has quit [Quit: Computer has gone to sleep.]
17:40
GBrawl has joined #ruby-lang
17:41
MikaAK_ has joined #ruby-lang
17:43
lewix has quit [Ping timeout: 240 seconds]
17:48
mistym has quit [Remote host closed the connection]
17:48
dochi has quit [Ping timeout: 272 seconds]
17:49
mistym has joined #ruby-lang
17:49
thmzlt has quit [Remote host closed the connection]
17:49
rahul_j has quit [Quit: rahul_j]
17:50
jg_ has quit [Ping timeout: 240 seconds]
17:51
lcdhoffman has quit [Quit: lcdhoffman]
17:51
djbkd has quit [Remote host closed the connection]
17:52
yfeldblum has joined #ruby-lang
17:53
loincloth has joined #ruby-lang
17:54
djbkd has joined #ruby-lang
17:54
MikaAK3 has quit [Quit: node-irc says goodbye]
17:54
elia has quit [Quit: Computer has gone to sleep.]
17:55
lewix has joined #ruby-lang
17:55
MikaAK2 has quit [Quit: node-irc says goodbye]
17:55
MikaAK has quit [Quit: node-irc says goodbye]
17:55
MikaAK1 has quit [Quit: node-irc says goodbye]
17:55
MikaAK has joined #ruby-lang
17:57
lcdhoffman has joined #ruby-lang
17:59
djbkd has quit [Ping timeout: 240 seconds]
18:00
toastynerd has quit [Remote host closed the connection]
18:02
thmzlt has joined #ruby-lang
18:03
djbkd has joined #ruby-lang
18:05
adaleigh has joined #ruby-lang
18:09
MikaAK has quit [Quit: node-irc says goodbye]
18:09
MikaAK1 has joined #ruby-lang
18:10
adaleigh has quit [Ping timeout: 272 seconds]
18:11
yfeldblum has quit [Remote host closed the connection]
18:11
yfeldblum has joined #ruby-lang
18:12
* yorickpeterse
slaps moogumbo with a large smelly trout
18:12
<
yorickpeterse >
DANG IT
18:12
<
yorickpeterse >
wrong one
18:12
<
yorickpeterse >
Oh, Mon_Quie already ran
18:12
<
yorickpeterse >
I'll get you next time!
18:15
mosoj has joined #ruby-lang
18:20
enebo has joined #ruby-lang
18:20
djbkd has quit [Remote host closed the connection]
18:23
djbkd has joined #ruby-lang
18:23
havenwood has joined #ruby-lang
18:25
tkuchiki has quit [Remote host closed the connection]
18:25
mosoj has quit [Ping timeout: 255 seconds]
18:27
kek has joined #ruby-lang
18:32
kek has quit [Ping timeout: 272 seconds]
18:33
jg_ has joined #ruby-lang
18:37
mosoj has joined #ruby-lang
18:38
matled has quit [Remote host closed the connection]
18:40
djbkd has quit [Remote host closed the connection]
18:42
djbkd has joined #ruby-lang
18:43
stamina has quit [Ping timeout: 244 seconds]
18:43
djbkd has quit [Remote host closed the connection]
18:43
imperator has joined #ruby-lang
18:44
djbkd has joined #ruby-lang
18:45
djbkd has quit [Remote host closed the connection]
18:49
djbkd has joined #ruby-lang
18:51
seanosaur has joined #ruby-lang
18:51
tectonic has joined #ruby-lang
18:54
ur5us has joined #ruby-lang
18:54
simoz111117 has joined #ruby-lang
18:54
sepp2k has joined #ruby-lang
18:55
agarie has quit [Quit: Leaving...]
18:56
MikaAK_ has quit [Remote host closed the connection]
18:56
MikaAK has joined #ruby-lang
18:58
sheperson has joined #ruby-lang
18:58
toastynerd has joined #ruby-lang
18:59
jsullivandigs has quit [Read error: Connection reset by peer]
18:59
karamazov has quit []
18:59
jsullivandigs has joined #ruby-lang
19:02
aero224 has quit [Remote host closed the connection]
19:02
aero224 has joined #ruby-lang
19:02
djbkd has quit [Remote host closed the connection]
19:03
luiz_lha has quit [Read error: Connection reset by peer]
19:04
luiz_lha has joined #ruby-lang
19:04
kfpratt has quit [Remote host closed the connection]
19:04
djbkd has joined #ruby-lang
19:06
adaleigh has joined #ruby-lang
19:06
aero224 has quit [Ping timeout: 245 seconds]
19:07
ur5us has quit [Remote host closed the connection]
19:09
allomov has joined #ruby-lang
19:10
adaleigh has quit [Ping timeout: 245 seconds]
19:11
allomov_ has joined #ruby-lang
19:11
luiz_lha has quit [Ping timeout: 244 seconds]
19:11
Fushi has quit [Quit: Connection closed for inactivity]
19:11
cymoc has joined #ruby-lang
19:13
ironhide_604 has joined #ruby-lang
19:13
allomov has quit [Ping timeout: 255 seconds]
19:14
dm78 has quit [Remote host closed the connection]
19:15
simoz111117 has joined #ruby-lang
19:15
luiz_lha has joined #ruby-lang
19:16
Miphix has quit [Quit: Leaving]
19:19
dm78 has joined #ruby-lang
19:24
dm78 has quit [Ping timeout: 244 seconds]
19:25
sheperson has quit [Ping timeout: 244 seconds]
19:25
stamina has joined #ruby-lang
19:25
sheperson has joined #ruby-lang
19:25
sheperson has quit [Client Quit]
19:27
dm78 has joined #ruby-lang
19:27
djbkd has quit [Remote host closed the connection]
19:27
kek has joined #ruby-lang
19:29
ht_ has joined #ruby-lang
19:31
_ht has quit [Ping timeout: 252 seconds]
19:32
MikaAK has quit [Remote host closed the connection]
19:32
kek has quit [Ping timeout: 245 seconds]
19:35
MikaAK1 has quit [Ping timeout: 245 seconds]
19:38
stamina has quit [Quit: WeeChat 0.4.3]
19:39
MikaAK has joined #ruby-lang
19:39
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
19:40
sduckett has joined #ruby-lang
19:42
MikaAK1 has joined #ruby-lang
19:42
spajus has quit [Quit: This computer has gone to sleep]
19:42
ht_ has quit [Remote host closed the connection]
19:46
vondruch has quit [Ping timeout: 264 seconds]
19:47
joevandyk has quit [Quit: leaving]
19:48
arBmind has quit [Quit: Leaving.]
19:49
loincloth has quit [Remote host closed the connection]
19:51
djbkd has joined #ruby-lang
19:56
croe93 has joined #ruby-lang
19:56
kith_ has joined #ruby-lang
19:56
djbkd has quit [Read error: Connection reset by peer]
19:56
bantic has joined #ruby-lang
19:56
djbkd has joined #ruby-lang
19:58
mosoj has quit [Ping timeout: 244 seconds]
19:59
kith has quit [Ping timeout: 251 seconds]
20:02
yfeldblu_ has joined #ruby-lang
20:05
loincloth has joined #ruby-lang
20:06
yfeldblum has quit [Ping timeout: 244 seconds]
20:07
adaleigh has joined #ruby-lang
20:07
AncientAmateur has quit [Remote host closed the connection]
20:10
yalue has quit [Quit: Leaving]
20:11
adaleigh has quit [Ping timeout: 240 seconds]
20:13
arBmind has joined #ruby-lang
20:13
<
cymoc >
hello croe93
20:13
<
croe93 >
What's up?
20:16
dm78 has quit [Remote host closed the connection]
20:16
skade has joined #ruby-lang
20:18
bantic has quit [Quit: bantic]
20:20
MikaAK2 has joined #ruby-lang
20:20
dm78 has joined #ruby-lang
20:21
MikaAK2 has quit [Client Quit]
20:22
MikaAK1 has quit [Quit: node-irc says goodbye]
20:23
amerine has quit [Remote host closed the connection]
20:24
dm78 has quit [Remote host closed the connection]
20:25
amerine has joined #ruby-lang
20:26
x0f has quit [Ping timeout: 272 seconds]
20:28
x0f has joined #ruby-lang
20:28
kek has joined #ruby-lang
20:30
adaleigh has joined #ruby-lang
20:31
kirin` has quit [Quit: Lost terminal]
20:31
kirin` has joined #ruby-lang
20:32
adaleigh_ has joined #ruby-lang
20:32
adaleigh has quit [Read error: Connection reset by peer]
20:33
kek has quit [Ping timeout: 244 seconds]
20:33
jg_ has quit [Ping timeout: 272 seconds]
20:34
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:34
adaleigh has joined #ruby-lang
20:35
adaleigh_ has quit [Read error: Connection reset by peer]
20:35
seanosaur has quit [Remote host closed the connection]
20:35
havenwood has quit [Remote host closed the connection]
20:35
djbkd has quit [Remote host closed the connection]
20:35
<
imperator >
enocontext
20:39
dik_dak has quit [Quit: Leaving]
20:39
mistym has quit [Remote host closed the connection]
20:40
djbkd has joined #ruby-lang
20:42
kith_ is now known as kith
20:43
mister_i_ has joined #ruby-lang
20:45
Rickmasta has joined #ruby-lang
20:46
mister_integer has quit [Ping timeout: 240 seconds]
20:49
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:50
seanosaur has joined #ruby-lang
20:51
cymoc has quit [Quit: wtd did i just do?]
20:53
devgiant has joined #ruby-lang
20:53
toastynerd has quit [Remote host closed the connection]
20:56
tbuehlmann has quit [Remote host closed the connection]
20:57
__butch__ has quit [Quit: Leaving.]
20:59
lcdhoffman has quit [Quit: lcdhoffman]
20:59
toastynerd has joined #ruby-lang
20:59
lcdhoffman has joined #ruby-lang
21:00
kyb3r_ has joined #ruby-lang
21:01
postmodern has joined #ruby-lang
21:01
simoz111117 has quit [Ping timeout: 245 seconds]
21:04
seanosaur has quit []
21:06
junkmechanic has quit [Read error: Connection reset by peer]
21:07
junkmechanic has joined #ruby-lang
21:09
__butch__ has joined #ruby-lang
21:15
ldnunes has quit [Quit: Leaving]
21:19
arBmind has quit [Quit: Leaving.]
21:19
yubrew has quit [Remote host closed the connection]
21:22
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:24
elia has joined #ruby-lang
21:28
simoz111117 has joined #ruby-lang
21:29
kek has joined #ruby-lang
21:29
simoz111118 has joined #ruby-lang
21:32
dm78 has joined #ruby-lang
21:32
simoz111117 has quit [Ping timeout: 255 seconds]
21:33
lcdhoffman has quit [Quit: lcdhoffman]
21:33
kek has quit [Ping timeout: 240 seconds]
21:34
rh1n0 has quit [Ping timeout: 240 seconds]
21:35
GBrawl has quit [Quit: Computer has gone to sleep.]
21:36
dm78 has quit [Remote host closed the connection]
21:37
GBrawl_ has joined #ruby-lang
21:39
ledestin has quit [Quit: ledestin]
21:39
jeffs has quit [Ping timeout: 264 seconds]
21:43
mister_i_ has quit [Remote host closed the connection]
21:43
Johz has quit [Ping timeout: 240 seconds]
21:44
dm78 has joined #ruby-lang
21:44
skade has quit [Quit: Computer has gone to sleep.]
21:47
miqui has quit [Remote host closed the connection]
21:47
miqui has joined #ruby-lang
21:47
miqui has quit [Remote host closed the connection]
21:47
dnewkerk-keyz has joined #ruby-lang
21:48
ledestin has joined #ruby-lang
21:49
majjoha has quit [Ping timeout: 244 seconds]
21:50
lcdhoffman has joined #ruby-lang
21:51
elia has quit [Quit: Computer has gone to sleep.]
21:51
lcdhoffman has quit [Client Quit]
21:51
karamazov has joined #ruby-lang
21:52
imperator has quit [Quit: Valete!]
21:53
lewix has quit [Ping timeout: 245 seconds]
21:55
junkmechanic has quit [Read error: Connection reset by peer]
21:55
sduckett has quit [Ping timeout: 272 seconds]
21:56
skade has joined #ruby-lang
21:56
elia has joined #ruby-lang
21:56
junkmechanic has joined #ruby-lang
21:56
pskosinski has quit [Remote host closed the connection]
21:59
matti has quit [Quit: Oh dear...]
21:59
AncientAmateur has joined #ruby-lang
22:01
MikaAK has quit [Remote host closed the connection]
22:01
croe93 has quit [Ping timeout: 272 seconds]
22:02
yubrew has joined #ruby-lang
22:03
bantic has joined #ruby-lang
22:04
MikaAK has joined #ruby-lang
22:04
alexju has quit [Remote host closed the connection]
22:06
GBrawl_ has quit [Quit: Computer has gone to sleep.]
22:06
tectonic has joined #ruby-lang
22:06
junkmechanic has quit [Read error: Connection reset by peer]
22:07
junkmechanic has joined #ruby-lang
22:07
yubrew has quit [Ping timeout: 264 seconds]
22:07
nathanstitt has quit [Quit: I growing sleepy]
22:07
jeffs has joined #ruby-lang
22:08
MikaAK has quit [Read error: Connection reset by peer]
22:08
MikaAK has joined #ruby-lang
22:09
karamazov has left #ruby-lang [#ruby-lang]
22:11
mistym has joined #ruby-lang
22:11
bantic has quit [Quit: bantic]
22:14
shinnya has joined #ruby-lang
22:17
sduckett has joined #ruby-lang
22:19
AncientAmateur has quit [Remote host closed the connection]
22:20
mister_integer has joined #ruby-lang
22:21
chouhoulis has quit [Ping timeout: 272 seconds]
22:22
sduckett has quit [Ping timeout: 264 seconds]
22:22
aero224 has joined #ruby-lang
22:23
nofxx has joined #ruby-lang
22:24
jeffs has quit [Ping timeout: 255 seconds]
22:26
AncientAmateur has joined #ruby-lang
22:30
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:32
loincloth has quit [Remote host closed the connection]
22:34
yfeldblu_ has quit [Remote host closed the connection]
22:36
enebo has quit [Quit: enebo]
22:39
nathanstitt has joined #ruby-lang
22:41
AncientAmateur has quit [Remote host closed the connection]
22:43
apeiros has joined #ruby-lang
22:43
dm78 has quit [Remote host closed the connection]
22:43
djbkd has quit [Remote host closed the connection]
22:44
kalehv has joined #ruby-lang
22:48
AncientAmateur has joined #ruby-lang
22:49
RobertBirnie has quit [Read error: Connection reset by peer]
22:49
RobertBirnie has joined #ruby-lang
22:52
MikaAK has quit [Remote host closed the connection]
22:53
gix has quit [Ping timeout: 240 seconds]
22:56
yubrew has joined #ruby-lang
22:57
gix has joined #ruby-lang
22:57
yfeldblum has joined #ruby-lang
23:00
yubrew has quit [Ping timeout: 240 seconds]
23:03
AncientAmateur has quit [Remote host closed the connection]
23:05
nathanstitt has quit [Quit: I growing sleepy]
23:05
kalehv has quit [Remote host closed the connection]
23:08
mister_i_ has joined #ruby-lang
23:10
__butch__ has quit [Read error: Connection reset by peer]
23:11
__butch__ has joined #ruby-lang
23:11
mister_integer has quit [Ping timeout: 244 seconds]
23:12
mister_i_ has quit [Ping timeout: 240 seconds]
23:12
MikaAK has joined #ruby-lang
23:12
cnivolle has joined #ruby-lang
23:12
lcdhoffman has joined #ruby-lang
23:13
AncientAmateur has joined #ruby-lang
23:14
mister_integer has joined #ruby-lang
23:18
dgaffney has quit [Remote host closed the connection]
23:19
dgaffney has joined #ruby-lang
23:21
symm- has quit [Ping timeout: 244 seconds]
23:22
ledestin has quit [Quit: ledestin]
23:22
ledestin has joined #ruby-lang
23:24
dgaffney has quit [Ping timeout: 255 seconds]
23:26
apeiros has quit [Remote host closed the connection]
23:26
apeiros has joined #ruby-lang
23:31
apeiros has quit [Ping timeout: 264 seconds]
23:35
banister has joined #ruby-lang
23:35
banister has quit [Read error: Connection reset by peer]
23:36
banister has joined #ruby-lang
23:40
x0f has quit [Ping timeout: 244 seconds]
23:41
x0f has joined #ruby-lang
23:43
AncientA_ has joined #ruby-lang
23:43
devgiant has quit [Quit: Leaving]
23:46
AncientAmateur has quit [Ping timeout: 252 seconds]
23:49
cored has joined #ruby-lang
23:50
MikaAK has quit [Remote host closed the connection]
23:50
yfeldblum has quit [Remote host closed the connection]
23:50
MikaAK has joined #ruby-lang
23:50
yubrew has joined #ruby-lang
23:51
MikaAK has quit [Remote host closed the connection]
23:53
lewix has joined #ruby-lang
23:54
lewix has quit [Changing host]
23:54
lewix has joined #ruby-lang
23:54
MikaAK has joined #ruby-lang
23:55
yubrew has quit [Ping timeout: 264 seconds]
23:56
ledestin has quit [Quit: ledestin]
23:58
dgaffney has joined #ruby-lang
23:58
dsaint-pierre has quit [Remote host closed the connection]
23:58
havenwood has joined #ruby-lang
23:59
dsaint-pierre has joined #ruby-lang
23:59
AKASkip has quit [Ping timeout: 264 seconds]