jsullivandigs has quit [Remote host closed the connection]
ruurd has quit [Quit: Leaving...]
towski has quit [Remote host closed the connection]
runeb has quit [Ping timeout: 245 seconds]
jsullivandigs has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
jsullivandigs has quit [Ping timeout: 252 seconds]
Squarepy has quit [Quit: Leaving]
saarinen has joined #ruby-lang
wmoxam has quit [Ping timeout: 246 seconds]
saarinen has quit [Client Quit]
stardiviner has quit [Ping timeout: 246 seconds]
mbj has quit [Ping timeout: 248 seconds]
jsullivandigs has joined #ruby-lang
henrikho_ has quit [Quit: Computer has gone to sleep.]
blaix has joined #ruby-lang
Squarepy has joined #ruby-lang
Squarepy has quit [Read error: Connection reset by peer]
stardiviner_ has joined #ruby-lang
KM has joined #ruby-lang
Johz has quit [Quit: AH HELP ITS ALL CRASHING AT ONCE I CANT STOP IT HELP HELP HELP <transmission ends>]
xxaM has quit [Ping timeout: 256 seconds]
Squarepy has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 252 seconds]
xxaM has joined #ruby-lang
wmoxam has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
<dingus_khan>
Anyone got any particular thoughts on Beginning Ruby?
gix has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
gix has joined #ruby-lang
wmoxam has quit [Quit: leaving]
xuser_ has quit [Read error: Operation timed out]
xuser has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
blaix has quit [Quit: Leaving.]
teleological has quit [Remote host closed the connection]
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Client Quit]
jsullivandigs has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
GarethAdams has joined #ruby-lang
stardiviner_ has quit [Ping timeout: 256 seconds]
Squarepy has quit [Remote host closed the connection]
pskosinski has quit [Quit: pskosinski]
stardiviner has joined #ruby-lang
jperry has quit [Quit: jperry]
dankest has quit [Quit: Leaving...]
towski has joined #ruby-lang
brianpWins has joined #ruby-lang
S1kx has quit [Quit: Leaving]
znz_jp has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby-lang
teleological has joined #ruby-lang
havenwood has joined #ruby-lang
Gaelan has joined #ruby-lang
teleological has quit [Remote host closed the connection]
GarethAdams|Work has joined #ruby-lang
GarethAdams|Work has quit [Client Quit]
GarethAdams has quit [Ping timeout: 256 seconds]
cofin has joined #ruby-lang
stardiviner has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby-lang
cofin has quit [Client Quit]
dankest has joined #ruby-lang
jacktrick has quit [Quit: Leaving]
toretore has quit [Quit: Leaving]
[[thufir]] has joined #ruby-lang
stardiviner_ has joined #ruby-lang
stardiviner has quit [Read error: Connection reset by peer]
cofin has joined #ruby-lang
LinkedoT has quit [Ping timeout: 240 seconds]
LinkedoT has joined #ruby-lang
<dingus_khan>
the ruby-docs doesn't explain this, but when I just call File.open("textfile.txt").each { |line| line_count +=1 }, how does it each element in the block is a different line?
djwonk has quit [Quit: djwonk]
<dingus_khan>
how does it *know
symm- has quit [Ping timeout: 256 seconds]
djwonk has joined #ruby-lang
teleological has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
LinkedoT has quit [Remote host closed the connection]
teleological has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
lguardiola has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
djwonk has quit [Quit: djwonk]
dingus_khan has quit [Remote host closed the connection]
stardiviner_ has quit [Ping timeout: 256 seconds]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
teleological has joined #ruby-lang
stardiviner has joined #ruby-lang
teleological has quit [Remote host closed the connection]
benxao has joined #ruby-lang
hashkey_disconne has joined #ruby-lang
towski has quit [Remote host closed the connection]
hashkey_disconne has quit [Client Quit]
hashkey has quit [Ping timeout: 256 seconds]
benxao has quit [Remote host closed the connection]
krohrbaugh has quit [Read error: Operation timed out]
teleological has quit [Remote host closed the connection]
<bnagy>
that's what IO#each does
s4muel has left #ruby-lang ["gone."]
<bnagy>
by default anyway
hashkey has quit [Ping timeout: 252 seconds]
teleological has joined #ruby-lang
hashkey has joined #ruby-lang
teleological has quit [Remote host closed the connection]
edgar has joined #ruby-lang
edgar has left #ruby-lang [#ruby-lang]
edgar has joined #ruby-lang
edgar has left #ruby-lang [#ruby-lang]
edgar has joined #ruby-lang
dankest has quit [Quit: Leaving...]
edgar has quit [Quit: leaving]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
stardiviner has quit [Ping timeout: 256 seconds]
hashkey has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
stardiviner has quit [Ping timeout: 256 seconds]
stardiviner has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Gaelan has joined #ruby-lang
teleological has joined #ruby-lang
<dingus_khan>
bnagy, I dropped out of the chatroom--you wouldn't be responding to me, would you?
<bnagy>
yeah I was
<dingus_khan>
OK, so the only parts I saw were "That's what IO#each does" and "by default anyway", was there any part I missed?
<bnagy>
nope
krohrbaugh has joined #ruby-lang
teleological has quit [Remote host closed the connection]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
<dingus_khan>
OK, sweet, thanks for the response, Imma go look up IO#each now, lol. I wish there was a place like ruby-docs, except that explains stuff like I'm five... :$
mdedetrich has joined #ruby-lang
xuser has quit [Changing host]
xuser has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
Fezzler has joined #ruby-lang
Gaelan has quit [Read error: Connection reset by peer]
Fezzler has quit [Client Quit]
Gaelan has joined #ruby-lang
LinkedoT has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
mouse_ has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
mouse_ has quit [Quit: Leaving]
MouseTheLuckyDog has joined #ruby-lang
<MouseTheLuckyDog>
I need a data structure. One that can hold "equivalence classes". I have a bunch of objects, they divide into subgroups. I need to efficiently put them into the data structure, and I need to look up the subgroup that contains a particular opbject.
dingus_khan has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
<bnagy>
collection of Hashes?
stardiviner has joined #ruby-lang
krombr has quit [Remote host closed the connection]
<bnagy>
how about make all the groups [] and have a {obj => group} for every obj?
sodalitumpianum has quit [Remote host closed the connection]
<bnagy>
inserting into a group is an array insert and a hash insert, looking up the group for an obj is O1
Senjai has joined #ruby-lang
benxao has quit [Remote host closed the connection]
benxao has joined #ruby-lang
<MouseTheLuckyDog>
bnagy, I thought about the hash thing, but how do you avoid the arrays in the hash copying when you insert a new element.
<bnagy>
the group is just one array, the hash just contains a pointer to it
<bnagy>
or many pointers to it, whatever
mdedetrich has joined #ruby-lang
<MouseTheLuckyDog>
bnagy, how do I make sure that the hash contains references to the array rather then copies?
havenwood has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
<bnagy>
you don't have to
<bnagy>
it's cumbersome to make object copies in ruby, you know when you're doing it
saarinen has quit [Quit: saarinen]
Gaelan has joined #ruby-lang
Gaelan_ has joined #ruby-lang
Gaelan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
lcdhoffman has joined #ruby-lang
stardiviner has quit [Quit: No Ping reply in 180 seconds.]
stardiviner has joined #ruby-lang
cofin has quit [Quit: cofin]
macmartine has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 256 seconds]
saarinen has joined #ruby-lang
Senjai_ has joined #ruby-lang
intellitech has quit [Quit: intellitech]
Senjai has quit [Ping timeout: 248 seconds]
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
kgrz has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 256 seconds]
macmartine has quit [Quit: Computer has gone to sleep.]
intellitech has joined #ruby-lang
intellitech has joined #ruby-lang
intellitech has quit [Changing host]
towski has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
poga has quit [Remote host closed the connection]
MouseTheLuckyDog has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
benchung has joined #ruby-lang
benchung has left #ruby-lang [#ruby-lang]
solars has joined #ruby-lang
hashkey has joined #ruby-lang
vmatiyko has quit [Quit: Page closed]
Gaelan_ has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
lcdhoffman has quit [Quit: lcdhoffman]
dhruvasagar has quit [Ping timeout: 245 seconds]
justinmb_ has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
swav has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
madb055 has joined #ruby-lang
CoverSli1e has quit [Ping timeout: 252 seconds]
justinmb_ has quit [Remote host closed the connection]
towski has quit [Ping timeout: 252 seconds]
rippa has joined #ruby-lang
hramrach_ has quit [Remote host closed the connection]
mucker has quit [Quit: leaving]
hramrach_ has joined #ruby-lang
rhizome has quit [Read error: Connection reset by peer]
rhizome has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
saarinen has left #ruby-lang [#ruby-lang]
Cakey has joined #ruby-lang
Gaelan has joined #ruby-lang
Senjai_ has quit [Ping timeout: 248 seconds]
krohrbaugh has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
dingus_khan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 264 seconds]
tonni has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
dingus_khan has joined #ruby-lang
Gaelan has quit [Ping timeout: 256 seconds]
tonni has joined #ruby-lang
[[thufir]] has quit [Quit: Leaving.]
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
hashkey has quit []
marr has joined #ruby-lang
hhatch has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
Nisstyre-laptop has quit [Read error: Connection reset by peer]
stardiviner has quit [Remote host closed the connection]
erichmenge has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
injekt has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 240 seconds]
ryez has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<dbussink>
injekt: any reason rbx 1.9 mode is an allowed failure?
voker57 has joined #ruby-lang
voker57 has joined #ruby-lang
sush24 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
Tranquility has joined #ruby-lang
seseisanudo has joined #ruby-lang
workmad3 has joined #ruby-lang
dfdf has quit [Remote host closed the connection]
mucker has joined #ruby-lang
postmodern has quit [Quit: Leaving]
Jungy has joined #ruby-lang
mrfelix has joined #ruby-lang
krohrbaugh has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
Guest50481 has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 240 seconds]
diegoviola has quit [Quit: WeeChat 0.4.1]
rippa has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
seseisanudo has left #ruby-lang [#ruby-lang]
mawueli has joined #ruby-lang
wallerdev has joined #ruby-lang
mawueli is now known as Guest4950
Gaelan has joined #ruby-lang
benlovell has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
Gaelan has joined #ruby-lang
dfdf has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
ia___ has quit [Quit: ia___]
MasterNayru has joined #ruby-lang
MasterNayru has quit [Client Quit]
krombr has joined #ruby-lang
MasterNayru has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
MasterNayru has quit [Client Quit]
MasterNayru has joined #ruby-lang
s1n4 has joined #ruby-lang
s1n4 has quit [Changing host]
s1n4 has joined #ruby-lang
s1n4 has left #ruby-lang [#ruby-lang]
FiXato has quit [Remote host closed the connection]
FiXato has joined #ruby-lang
krombr has quit [Quit: krombr]
krohrbaugh has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
krohrbaugh has quit [Read error: Operation timed out]
barttenbrinke has joined #ruby-lang
tomzx_mac has joined #ruby-lang
lcdhoffman has joined #ruby-lang
lcdhoffman has quit [Client Quit]
ruurd has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
machuga is now known as machuga|away
barttenbrinke has quit [Ping timeout: 256 seconds]
blaix has quit [Ping timeout: 240 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
mucker has quit [Quit: leaving]
MouseTheLuckyDog has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
<MouseTheLuckyDog>
I want to create a hash where the values are arrays. How can I guarantee that the hash value is a reference to the array, or a copy of the array?
<bnagy>
12:49 < bnagy> you don't have to
<bnagy>
12:50 < bnagy> it's cumbersome to make object copies in ruby, you know when you're doing it
<bnagy>
anyway, night
kgrz has quit [Ping timeout: 252 seconds]
setmeaway has quit [Ping timeout: 248 seconds]
s0ber_ has joined #ruby-lang
s0ber has quit [Write error: Broken pipe]
s0ber_ is now known as s0ber
workmad3 has joined #ruby-lang
krohrbaugh has joined #ruby-lang
runeb has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
blaix has joined #ruby-lang
teleological has joined #ruby-lang
Senjai has quit [Ping timeout: 248 seconds]
runeb has quit [Remote host closed the connection]
runeb has joined #ruby-lang
saarinen has joined #ruby-lang
MasterNayru has quit [Ping timeout: 248 seconds]
saarinen has quit [Client Quit]
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
runeb has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
pcboy__ has joined #ruby-lang
megha has joined #ruby-lang
tdy has quit [Read error: Connection reset by peer]
pcboy_ has quit [Ping timeout: 252 seconds]
tdy has joined #ruby-lang
apeiros has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jperry has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
Gaelan has joined #ruby-lang
Nisstyre has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
jperry has quit [Quit: jperry]
Gaelan has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
Guest4950 has quit [Remote host closed the connection]
pcboy__ has quit [Ping timeout: 246 seconds]
pcboy_ has joined #ruby-lang
bnagy has quit [Ping timeout: 252 seconds]
dfdf has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
tsou has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
apeiros has quit [Ping timeout: 248 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
dhruvasagar has joined #ruby-lang
machuga|away is now known as machuga
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
teleological has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
teleological has joined #ruby-lang
Sm3lly has quit [Ping timeout: 240 seconds]
machuga is now known as machuga|away
digs has joined #ruby-lang
digs is now known as Guest3804
jsullivandigs has quit [Read error: Connection reset by peer]
ikrima has quit [Quit: Computer has gone to sleep.]
Gaelan has joined #ruby-lang
kgrz has joined #ruby-lang
DomKM has joined #ruby-lang
teleological has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 252 seconds]
Artheist has joined #ruby-lang
glebm has joined #ruby-lang
tdy has quit [Read error: Connection reset by peer]
MasterNayru has joined #ruby-lang
hashkey has joined #ruby-lang
<andrewvos>
MouseTheLuckyDog: no
<andrewvos>
Maybe rethink your design
madb055 has quit [Remote host closed the connection]
teleological has quit [Remote host closed the connection]
MasterNayru has quit [Ping timeout: 248 seconds]
MasterNayru has joined #ruby-lang
LinkedoT has quit [Quit: Leaving]
bnagy has joined #ruby-lang
ia___ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
FlyingLeap has quit [Quit: No Ping reply in 180 seconds.]
FlyingLeap has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
krohrbaugh has quit [Ping timeout: 252 seconds]
FlyingLeap has quit [Client Quit]
maxmanders has joined #ruby-lang
FlyingLeap has joined #ruby-lang
poga has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
dingus_khan has joined #ruby-lang
LinkedoT has joined #ruby-lang
workmad3 has joined #ruby-lang
jperry has joined #ruby-lang
ia___ has quit [Remote host closed the connection]
megha has quit [Ping timeout: 245 seconds]
baba has joined #ruby-lang
symm- has joined #ruby-lang
jvrmaia has joined #ruby-lang
ia___ has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
pipework has joined #ruby-lang
jxie has joined #ruby-lang
workmad3 has quit [Ping timeout: 246 seconds]
ryez has joined #ruby-lang
benlovell has joined #ruby-lang
baba has quit [Quit: WeeChat 0.4.0]
wallerdev has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
baba has joined #ruby-lang
jvrmaia has quit [Remote host closed the connection]
ryez has quit [Ping timeout: 250 seconds]
ryez has joined #ruby-lang
<yorickpeterse>
MouseTheLuckyDog: a copy *or* a reference? wat
<yxhuvud>
why choose? copy the reference!
<ruurd>
reference the copy!
krohrbaugh has joined #ruby-lang
ia___ has quit [Quit: ia___]
spacesuit has joined #ruby-lang
ia___ has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
spacesuit has quit [Client Quit]
hashkey has quit []
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
dhruvasagar has joined #ruby-lang
teleological has joined #ruby-lang
dingus_khan has joined #ruby-lang
swav has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
hashkey has joined #ruby-lang
PacketMonkey has quit [Ping timeout: 276 seconds]
PacketMonkey has joined #ruby-lang
brownies has quit [Ping timeout: 245 seconds]
brownies has joined #ruby-lang
brownies has quit [Changing host]
brownies has joined #ruby-lang
mdedetrich has joined #ruby-lang
maxmanders has joined #ruby-lang
workmad3 has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
teleological has quit [Remote host closed the connection]
Nisstyre has quit [Ping timeout: 256 seconds]
mucker has quit [Quit: leaving]
benlovell has quit [Quit: leaving]
<MouseTheLuckyDog>
yorickpeterse, So I have a hash with the same 100 element array in 100 places. I then add an element to one of the places. How can I be sure that putting the element into that one place will ad it to all the others?
<MouseTheLuckyDog>
s/ad/add/
MasterNayru has quit [Remote host closed the connection]
swav has joined #ruby-lang
EvilJStoker has joined #ruby-lang
EvilJStoker has quit [Changing host]
EvilJStoker has joined #ruby-lang
Guest84241 has quit [Ping timeout: 271 seconds]
s1n4 has joined #ruby-lang
s1n4 is now known as Guest99046
Guest99046 has quit [Client Quit]
Nisstyre has joined #ruby-lang
pipework has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
pipework has joined #ruby-lang
cofin has joined #ruby-lang
Sm3lly has quit [Ping timeout: 256 seconds]
dingus_khan has quit [Remote host closed the connection]
maxmanders has quit [Quit: Computer has gone to sleep.]
<injekt>
dbussink: no idea, I hadn't checked that. Maybe priority, not sure
Gaelan has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
elia has joined #ruby-lang
dingus_khan has joined #ruby-lang
bri has quit [Ping timeout: 245 seconds]
solars has quit [Ping timeout: 264 seconds]
<workmad3>
MouseTheLuckyDog: if all 100 places are references to the same object, then yes
<MouseTheLuckyDog>
Sigh.
<MouseTheLuckyDog>
workmad3: That was my original question.
<MouseTheLuckyDog>
yorickpeterse, So I have a hash with the same 100 element array in 100 places. I then add an element to one of the places. How can I be sure that putting the element into that one place will ad it to all the others?
<MouseTheLuckyDog>
I want to create a hash where the values are arrays. How can I guarantee that the hash value is a reference to the array, or a copy of the array?
<MouseTheLuckyDog>
Sorry aboutt he first question --my mistake.
<hagabaka>
when you use assignment in ruby, it's always a reference
<workmad3>
^^
<hagabaka>
a copy is made only when you use .dup or similar
<workmad3>
.dup or .clone are the normal ones
sush24 has joined #ruby-lang
<MouseTheLuckyDog>
Ok. Got it.
bri has joined #ruby-lang
Gaelan has joined #ruby-lang
marr has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
hhatch has quit [Ping timeout: 248 seconds]
elia has joined #ruby-lang
marcostoledo has joined #ruby-lang
zachlatta has joined #ruby-lang
workmad3 has quit [Read error: Operation timed out]
Jungy has quit [Ping timeout: 248 seconds]
symm- has quit [Ping timeout: 245 seconds]
marcostoledo has quit [Quit: Leaving...]
pipework has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
jperry has quit [Quit: jperry]
teleological has joined #ruby-lang
[[thufir]] has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
kith_ has joined #ruby-lang
kith has quit [Read error: Connection reset by peer]
teleological has quit [Remote host closed the connection]
coffeejunk has quit [Ping timeout: 240 seconds]
glebm has quit [Ping timeout: 245 seconds]
glebm has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
cofin has quit [Quit: cofin]
Artheist has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
teleological has joined #ruby-lang
teleological has quit [Remote host closed the connection]
kith has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
kith_ has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 256 seconds]
oldbay has joined #ruby-lang
stamina has quit [Read error: Operation timed out]