apeiros changed the topic of #ruby-lang to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
jimbach has joined #ruby-lang
rikkipitt has joined #ruby-lang
krzbrg has joined #ruby-lang
jimbach has quit [Ping timeout: 272 seconds]
krzbrg has left #ruby-lang [#ruby-lang]
workmad3 has joined #ruby-lang
workmad3 has quit [Client Quit]
workmad3 has joined #ruby-lang
scottschecter has joined #ruby-lang
dm78 has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
rikkipitt has quit []
pablocantero has joined #ruby-lang
jmrepetti has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
pablocantero has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
Lingos has quit [Quit: Be back later ...]
chussenot has quit [Quit: chussenot]
jmrepetti has quit [Remote host closed the connection]
mannyt has joined #ruby-lang
jimbach has joined #ruby-lang
hakunin_ has quit [Ping timeout: 264 seconds]
tharindu has joined #ruby-lang
kirin` has quit [Ping timeout: 240 seconds]
jimbach has quit [Remote host closed the connection]
workmad3_ has joined #ruby-lang
vang has quit [Remote host closed the connection]
ta has joined #ruby-lang
workmad3_ has quit [Ping timeout: 258 seconds]
Musashi007 has joined #ruby-lang
bmichelsen has joined #ruby-lang
bmichelsen has quit [Client Quit]
kirin` has joined #ruby-lang
bmichelsen has joined #ruby-lang
ta has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
dorei has quit []
yfeldblu_ has quit [Ping timeout: 258 seconds]
|jemc| has joined #ruby-lang
jimbach has joined #ruby-lang
dwknoxy has quit [Ping timeout: 240 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
dwknoxy has joined #ruby-lang
workmad3 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dm78 has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
kyb3r_ has joined #ruby-lang
Musashi007 has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
klmlfl has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
charliesome has joined #ruby-lang
spuk has quit [Ping timeout: 258 seconds]
spuk has joined #ruby-lang
hakunin has joined #ruby-lang
cleopatra has quit [Quit: Saliendo]
godd2 has joined #ruby-lang
lewix has quit [Ping timeout: 255 seconds]
lewix has joined #ruby-lang
lewix has quit [Changing host]
lewix has joined #ruby-lang
klmlfl has quit []
klmlfl has joined #ruby-lang
symm- has quit [Ping timeout: 258 seconds]
lewix has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
Sirupsen has joined #ruby-lang
pablocantero has joined #ruby-lang
nelsonsar has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
cleopatra has joined #ruby-lang
selene has joined #ruby-lang
selene has quit [Read error: Connection reset by peer]
pablocantero has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
banister is now known as banisterfiend
Musashi007 has quit [Quit: Musashi007]
ght2 is now known as ght
tharindu has quit [Quit: No Ping reply in 180 seconds.]
symm- has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
nelsonsar has quit [Remote host closed the connection]
tharindu has joined #ruby-lang
caseydriscoll has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
caseydriscoll has quit [Ping timeout: 258 seconds]
tharindu has quit [Quit: No Ping reply in 180 seconds.]
shinnya has joined #ruby-lang
tharindu has joined #ruby-lang
lewix has joined #ruby-lang
lewix has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
dabradley has quit [Ping timeout: 272 seconds]
kirloo has quit [K-Lined]
symm- has quit [Ping timeout: 256 seconds]
tejas-manohar has quit [Quit: Page closed]
tejas-manohar has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
dabradley has joined #ruby-lang
fedexo has joined #ruby-lang
jimbach has joined #ruby-lang
Musashi007 has joined #ruby-lang
bb010g has joined #ruby-lang
tkuchiki has joined #ruby-lang
yfeldblum has joined #ruby-lang
caseydriscoll has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
gix has quit [Ping timeout: 264 seconds]
rahul_j has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 265 seconds]
dm78 has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
gix has joined #ruby-lang
pablocantero has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
kyb3r_ has quit [Read error: Connection reset by peer]
lewix has quit [Remote host closed the connection]
pablocantero has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby-lang
lewix has joined #ruby-lang
lewix has quit [Changing host]
lewix has joined #ruby-lang
ta has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
red_menace has quit [Quit: Quit]
ta has quit [Ping timeout: 256 seconds]
kyb3r_ has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
dm78 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
dm78 has quit [Ping timeout: 240 seconds]
tenderlove has quit [Remote host closed the connection]
mistym has joined #ruby-lang
Missphoenix has quit [Quit: Leaving]
Miphix has joined #ruby-lang
Musashi007 has joined #ruby-lang
scottschecter has quit [Ping timeout: 272 seconds]
koderok has joined #ruby-lang
klmlfl has joined #ruby-lang
rahul_j has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
<nofxx> nice, didn't knew 2.0 has %i{} array of symbols
koderok has quit [Ping timeout: 255 seconds]
<womble> nofxx: Neither did I; thanks for mentioning it!
charliesome has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
dm78 has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
tenderlove has joined #ruby-lang
dm78 has quit [Ping timeout: 258 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
kiyote23 has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
oak has joined #ruby-lang
wallerdev has joined #ruby-lang
cornerma1 has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
wallerdev has quit [Client Quit]
charliesome has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
workmad3 has joined #ruby-lang
dm78 has joined #ruby-lang
ta has joined #ruby-lang
aledovsky has quit [Quit: ZNC - http://znc.in]
workmad3 has quit [Ping timeout: 264 seconds]
pablocantero has joined #ruby-lang
Gaelan has joined #ruby-lang
dm78 has quit [Ping timeout: 255 seconds]
kiyote23 has quit [Remote host closed the connection]
mannyt has quit [Quit: Connection closed for inactivity]
ta has quit [Ping timeout: 264 seconds]
pablocantero has quit [Ping timeout: 245 seconds]
Gaelan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
diegoviola has quit [Remote host closed the connection]
tkuchiki_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
individuwill has quit [Ping timeout: 240 seconds]
rahul_j has quit [Quit: rahul_j]
yfeldblum has joined #ruby-lang
fedexo has quit [Ping timeout: 265 seconds]
xm2 has joined #ruby-lang
<xm2> hi
<xm2> can someone please tell mewhat the "[]=" operator does?
<godd2> xm2 it depends on the object. For arrays, it sets the value at a particular index
Tab_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
dxta has quit [Remote host closed the connection]
<xm2> cheers
<godd2> >> some_array = ; some_array.[]=(0,"hello"); some_array
<eval-in__> godd2 => /tmp/execpad-92ac95d065c3/source-92ac95d065c3:2: syntax error, unexpected ';' ... (https://eval.in/225229)
<godd2> oops
<godd2> >> some_array = []; some_array.[]=(0,"hello"); some_array
<eval-in__> godd2 => ["hello"] (https://eval.in/225230)
<godd2> though, with syntactic sugar, this becomes some_array[0] = "hello"
<xm2> thanks godd2. you've saved me time. i was going to look for an example
<zenspider> you could also look at the doco...
tenderlove has joined #ruby-lang
dxta has joined #ruby-lang
<zenspider> `ri []=`
<zenspider> or if you know what the receiver is: `ri Array.[]=`
<xm2> tah
xm2 has quit [Client Quit]
tzero has quit [Ping timeout: 240 seconds]
dxta has quit [Ping timeout: 255 seconds]
xm2 has joined #ruby-lang
xm2 has quit [Client Quit]
charliesome has quit [Read error: Connection reset by peer]
|jemc| has quit [Ping timeout: 245 seconds]
tenderlove has quit [Ping timeout: 258 seconds]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
dm78 has joined #ruby-lang
lewix has quit [Remote host closed the connection]
dm78 has quit [Ping timeout: 245 seconds]
Tab_ has quit [Quit: This computer has gone to sleep]
tzero has joined #ruby-lang
rahul_j has joined #ruby-lang
yfeldblum has joined #ruby-lang
Musashi007 has joined #ruby-lang
lewix has joined #ruby-lang
lewix has quit [Changing host]
lewix has joined #ruby-lang
lewix has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
enp0s25 has quit [Ping timeout: 244 seconds]
t7y9r has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
kyb3r_ has quit [Quit: Leaving]
rahul_j has quit [Quit: rahul_j]
workmad3 has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
workmad3 has quit [Ping timeout: 255 seconds]
dm78 has joined #ruby-lang
pablocantero has joined #ruby-lang
dm78 has quit [Ping timeout: 240 seconds]
pablocantero has quit [Ping timeout: 255 seconds]
Lingos has joined #ruby-lang
ta has joined #ruby-lang
ItSANgo has joined #ruby-lang
ganin60seconds has joined #ruby-lang
<ganin60seconds> Hello friends
shinnya has joined #ruby-lang
dxta has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
hahuang65 has joined #ruby-lang
<ganin60seconds> welcome hahuang65
hahuang65 has quit [Ping timeout: 265 seconds]
hahuang61 has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
godd2 has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
tenderlove has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
dm78 has quit [Read error: No route to host]
dm78 has joined #ruby-lang
dm78 has quit [Ping timeout: 265 seconds]
tkuchiki has joined #ruby-lang
hahuang61 has quit [Ping timeout: 272 seconds]
chussenot has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest80354
Lingos has quit [Quit: Be back later ...]
Guest80354 has quit [Ping timeout: 272 seconds]
allomov has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
oak has quit [Ping timeout: 258 seconds]
ganin60seconds has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
marr has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
Lingos has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 272 seconds]
sarkyniin has joined #ruby-lang
symm- has joined #ruby-lang
fusillicode has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 245 seconds]
dxta has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
tharindu has quit [Ping timeout: 264 seconds]
Lingos has quit [Quit: Be back later ...]
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
dm78 has joined #ruby-lang
pablocantero has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dm78 has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
pablocantero has quit [Ping timeout: 264 seconds]
charliesome has quit [Read error: Connection reset by peer]
shubhamgoyal has joined #ruby-lang
JohnBat26 has joined #ruby-lang
charliesome has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
Lingos has joined #ruby-lang
tkuchiki has joined #ruby-lang
saramic_ has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
saramic_ has quit [Remote host closed the connection]
saramic_ has joined #ruby-lang
dm78 has joined #ruby-lang
dm78 has quit [Ping timeout: 240 seconds]
saramic_ has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 240 seconds]
rikkipitt has joined #ruby-lang
allomov has quit [Remote host closed the connection]
Lingos has quit [Quit: Be back later ...]
Lingos has joined #ruby-lang
workmad3 has joined #ruby-lang
rahul_j has joined #ruby-lang
Lingos has quit [Quit: Be back later ...]
workmad3 has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
Lingos has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 245 seconds]
Lingos has quit [Client Quit]
Lingos has joined #ruby-lang
x0f_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
x0f has quit [Ping timeout: 264 seconds]
sarkyniin has quit [Ping timeout: 240 seconds]
jxie has quit [Ping timeout: 255 seconds]
jxie has joined #ruby-lang
arBmind has joined #ruby-lang
t7y9r has joined #ruby-lang
allomov has joined #ruby-lang
dorei has joined #ruby-lang
pablocantero has joined #ruby-lang
dm78 has joined #ruby-lang
pablocantero has quit [Ping timeout: 255 seconds]
pablocantero has joined #ruby-lang
dm78 has quit [Ping timeout: 258 seconds]
spuk has quit [Read error: Connection reset by peer]
spuk has joined #ruby-lang
centrx has joined #ruby-lang
Lingos has quit [Quit: Be back later ...]
postmodern has quit [Quit: Leaving]
Forgetful_Lion has quit [Remote host closed the connection]
oleo__ is now known as oleo
GBrawl has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
dm78 has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
<ledestin> the latest Ruby Weekly is full of cool stuff
nofxx has quit [Ping timeout: 258 seconds]
GBrawl has quit [Ping timeout: 258 seconds]
rob_ has left #ruby-lang [#ruby-lang]
caseydriscoll has joined #ruby-lang
Digby has joined #ruby-lang
dm78 has quit []
dm78 has joined #ruby-lang
Digby has quit [Client Quit]
jamse has joined #ruby-lang
workmad3 has joined #ruby-lang
rahul_j has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
jimbach has joined #ruby-lang
ahmetkapikiran has quit [Ping timeout: 264 seconds]
rahul_j has quit [Client Quit]
Lingos has joined #ruby-lang
Lingos has quit [Ping timeout: 272 seconds]
hahuang61 has joined #ruby-lang
tbuehlmann has joined #ruby-lang
hahuang61 has quit [Ping timeout: 258 seconds]
dimas_ has joined #ruby-lang
dimas_ has quit [Client Quit]
ahmetkapikiran has joined #ruby-lang
spuk has quit [Ping timeout: 255 seconds]
spuk has joined #ruby-lang
sk_0 has quit [Ping timeout: 244 seconds]
sk_0 has joined #ruby-lang
pablocantero has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
sk_0 has quit [Ping timeout: 250 seconds]
sk_0 has joined #ruby-lang
rahul_j has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
Star-Lord has joined #ruby-lang
pablocantero has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
pablocantero has joined #ruby-lang
symm- has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
pablocantero has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
rahul_j_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 244 seconds]
rahul_j_ is now known as rahul_j
parzzix has joined #ruby-lang
red_menace has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cleopatra has quit [Ping timeout: 250 seconds]
dwknoxy has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
JohnBat26 has quit [Remote host closed the connection]
buddy_tucker has joined #ruby-lang
JohnBat26 has joined #ruby-lang
workmad3 has joined #ruby-lang
sarkyniin has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
rahul_j has joined #ruby-lang
solars has joined #ruby-lang
danijoo has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.2]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dagda1 has joined #ruby-lang
jimbach has joined #ruby-lang
dxta has joined #ruby-lang
solars has joined #ruby-lang
rikkipitt has quit []
houhoulis has joined #ruby-lang
Demannu has quit [Remote host closed the connection]
Demannu has joined #ruby-lang
elia has joined #ruby-lang
pnbeast has joined #ruby-lang
|jemc| has joined #ruby-lang
dangerousdave has joined #ruby-lang
Demannu has quit [Remote host closed the connection]
ta has quit [Ping timeout: 256 seconds]
dxta has quit [Read error: Connection reset by peer]
dxta_ has joined #ruby-lang
individuwill has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
dxta_ has quit [Read error: Connection reset by peer]
dxta has joined #ruby-lang
Demannu has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arooni-mobile has joined #ruby-lang
dangerousdave has joined #ruby-lang
arooni-mobile has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
NoNMaDDeN has quit [Quit: Leaving...]
NoNMaDDeN has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dagda1 has joined #ruby-lang
xcesariox has joined #ruby-lang
xcesariox has quit [Client Quit]
workmad3 has joined #ruby-lang
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
pnbeast has quit [Quit: leaving]
dangerousdave has joined #ruby-lang
kiyote23 has joined #ruby-lang
relix has joined #ruby-lang
havenwood has joined #ruby-lang
mustmodify has joined #ruby-lang
individuwill has quit [Quit: WeeChat 1.0.1]
ta has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
dangerousdave has quit [Max SendQ exceeded]
dangerousdave has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
allomov has quit [Remote host closed the connection]
stamina has joined #ruby-lang
rtl has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby-lang907 has joined #ruby-lang
kyb3r_ has joined #ruby-lang
diegoviola has joined #ruby-lang
ruby-lang907 has quit [Client Quit]
|jemc| has quit [Quit: WeeChat 1.0.1]
sarkyniin has quit [Ping timeout: 244 seconds]
jmrepetti has joined #ruby-lang
hahuang61 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
jmrepett_ has joined #ruby-lang
buddy_tucker has quit [Remote host closed the connection]
buddy_tucker has joined #ruby-lang
jmrepetti has quit [Ping timeout: 264 seconds]
|jemc| has joined #ruby-lang
hahuang61 has quit [Ping timeout: 258 seconds]
postmodern has joined #ruby-lang
sarkyniin has joined #ruby-lang
Narzew has joined #ruby-lang
chussenot has quit [Quit: chussenot]
clauswitt has joined #ruby-lang
jimbach has joined #ruby-lang
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fedexo has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
jdecuirm__ has quit [Ping timeout: 264 seconds]
kyb3r_ has quit [Quit: Leaving]
stamina has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
jdecuirm__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby-lang
dangerousdave has joined #ruby-lang
mistym has joined #ruby-lang
workmad3_ has joined #ruby-lang
dm78_ has joined #ruby-lang
tectonic has joined #ruby-lang
dm78 has quit [Ping timeout: 264 seconds]
saramic_ has joined #ruby-lang
workmad3_ has quit [Ping timeout: 264 seconds]
benanne has joined #ruby-lang
lewix has joined #ruby-lang
lewix has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
cornerma1 has joined #ruby-lang
ledestin has quit [Ping timeout: 264 seconds]
jdecuirm__ has quit [Ping timeout: 244 seconds]
ledestin_ has joined #ruby-lang
hakunin_ has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
dm78 has joined #ruby-lang
hakunin has quit [Ping timeout: 255 seconds]
dm78_ has quit [Ping timeout: 265 seconds]
saramic_ has quit [Remote host closed the connection]
saramic has joined #ruby-lang
dangerousdave has quit [Ping timeout: 265 seconds]
Star-Lord has quit [Quit: • IRcap • 8.72 •]
dm78_ has joined #ruby-lang
sarkyniin has quit [Ping timeout: 272 seconds]
dm78 has quit [Ping timeout: 240 seconds]
jkad1 has joined #ruby-lang
dm78 has joined #ruby-lang
jimbach has joined #ruby-lang
tectonic has quit []
dm78_ has quit [Ping timeout: 255 seconds]
<tejas-manohar> rvm anyone?
<tejas-manohar> whats with that error? im just trying to uninstall a ruby version
sarkyniin has joined #ruby-lang
<workmad3> tejas-manohar: rm: /Users/.../.rvm/rubies/ruby-2.1.3/lib/ruby/gems/2.1.0/gems/tzinfo-1.2.2/test/zoneinfo: Permission denied <-- that's the important error
<workmad3> tejas-manohar: namely, there's a gem in your install that you don't have permission to remove... did you install the tzinfo gem with 'sudo' by any chance?
gianlucadv has joined #ruby-lang
allomov has joined #ruby-lang
<mustmodify> Does the "tell don't ask" principle mean "don't ask me for any information" or "don't micromanage me"? I find myself doing things like this a lot: Message::Identifier.new(message: m).account_id
<workmad3> mustmodify: in strict form, it's "don't ask for any information"
allomov has quit [Ping timeout: 265 seconds]
<workmad3> mustmodify: instead, what you'd do is tell something that you want the account ID, and provide a callback, so the target can tell the callback what the account ID is
<mustmodify> workmad3: In your opinion, does this lead to better code? Seems like it would just make things more complicated. But since I haven't implemented it that way, I could just be blind to the benefits.
<workmad3> mustmodify: depends on exactly what you're trying to achieve, IMO
<mustmodify> That's true of just about anything. :P
<workmad3> mustmodify: it allows for much more asynchronous, distributed code though
<workmad3> mustmodify: e.g. something like the Actor pattern for concurrency is heavily biased towards Tell, Don't Ask
<workmad3> mustmodify: it's also quite appealing if you want loosely coupled components, such as you'd find in many UI frameworks... or a callback-heavy language like Javascript
<workmad3> mustmodify: personally, I tend towards the slightly less strict CQRS principle in most things... but if I was writing a highly distributed, concurrent application, I'd rely on Tell, Don't Ask as the principle for exchanging data
<workmad3> mustmodify: is that more what you were looking for? :P
<mustmodify> workmad3: I write a lot more asyncronous javascript than Ruby. For some reason, it just doesn't occur to me to write things async in Ruby until I hit some bottleneck.
<workmad3> mustmodify: I tend to be the same, tbh
sen_jalapeno has quit [Ping timeout: 256 seconds]
<mustmodify> I'm reading about CQRS now. Seems kind of familiar, but Martin Fowler is being kind of abstract right now and I tend to be an example person.
<workmad3> mustmodify: methods are either command (state
<workmad3> (state-changing) or query (request information)
saramic has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
<workmad3> mustmodify: command methods don't give you useful info, query methods don't change state
<workmad3> mustmodify: command-query request separation
<mustmodify> My initial thought is, "duh?" but maybe I haven't integrated it fully yet. I'll let it sink in for a bit.
<workmad3> mustmodify: tbh, it's mostly aimed at 'query methods don't change state', so that when coding you know that doing something like 'foobar_collection.size' (a query method) can be called repeatedly and, as long as you haven't called a command method in the interim, it'll always return the same thing
<workmad3> mustmodify: so it's a criteria for idempotency around query methods... which seems pretty self-evident, but there's plenty of more subtle cases where you could violate that, and in large code-bases that can cause weirdnesses :)
<workmad3> mustmodify: I think there's also a criteria that query methods shouldn't leak mutable state too...
<mustmodify> I was just thinking that in a heavy-use web app you couldn't count on foo.size staying consistent for long.
<workmad3> mustmodify: sure... but you should be able to count on it not adding shit to an array... or incrementing an ID in the database...
<mustmodify> yeah.
bmichelsen has joined #ruby-lang
<workmad3> mustmodify: in all honesty, many principles in coding are either 'self-evident' in the examples given or 'why would I do it that way?' for the examples given... that really speaks more to the size of examples more than anything else though, IMO
<workmad3> anyway, must run
<workmad3> hopefully this has helped rather than muddied the waters more :)
<mustmodify> yes, thanks.
<tejas-manohar> was trying to do a simple database migration
<tejas-manohar> relates to this repo - https://github.com/tejas-manohar/1-plus-1
<tejas-manohar> nvm
<tejas-manohar> got it
mustmodify has left #ruby-lang [#ruby-lang]
jimbach has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 244 seconds]
sen_jalapeno has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
yfeldblum has joined #ruby-lang
ur5us has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
marcdel has quit []
tejas-manohar has left #ruby-lang [#ruby-lang]
ur5us_ has joined #ruby-lang
dxta has quit [Remote host closed the connection]
sarkyniin has quit [Remote host closed the connection]
dxta has joined #ruby-lang
dxta has quit [Read error: Connection reset by peer]
dxta_ has joined #ruby-lang
dxta_ has quit [Remote host closed the connection]
sarkyniin has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
fusillicode1 has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tbuehlmann has quit [Remote host closed the connection]
kaiwren has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
midhir has quit [Remote host closed the connection]
symm- has quit [Quit: Leaving...]
relix has joined #ruby-lang
frank_o has joined #ruby-lang
<frank_o> Hi! Does anyone here do like `# ----------" or similar to separate / group together similar parts of code in their models and controllers?
workmad3 has joined #ruby-lang
<centrx> frank_o, ### Header ###
NoNMaDDeN has joined #ruby-lang
midhir has joined #ruby-lang
symm- has joined #ruby-lang
<frank_o> centrx: Nice
lsegal has joined #ruby-lang
workmad3 has quit [Ping timeout: 255 seconds]
kaiwren has quit [Read error: Connection reset by peer]
<banister> frank_o no :)
<red_menace> that, along with MARK to get them into the menu
kaiwren has joined #ruby-lang
jkad1 has quit [Quit: WeeChat 1.0.1]
spastorino has joined #ruby-lang
lewix has quit [Remote host closed the connection]
jkad1 has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby-lang
jkad1 has quit [Quit: WeeChat 1.0.1]
NoNMaDDeN has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby-lang
jkad1 has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lsegal has joined #ruby-lang
lewix has joined #ruby-lang
lewix has joined #ruby-lang
tejas-manohar has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
dagda1 has joined #ruby-lang
<tejas-manohar> https://github.com/tejas-manohar/1-1/blob/master/ifttt.rb -- `puts options` returns something like "#<Commander::Command::Options:0x007faa6119b4d8>" -- how do i get the names of properties on this? i want to retrieve like what the user is entering in an understandable format lol
allomov has joined #ruby-lang
<tejas-manohar> wait nvm got it
<tejas-manohar> no i didnt
<tejas-manohar> https://github.com/tejas-manohar/1-1/blob/master/ifttt.rb -- `puts options` returns something like "#<Commander::Command::Options:0x007faa6119b4d8>" -- how do i get the names of properties on this? i want to retrieve like what the user is entering in an understandable format
<tejas-manohar> thats my question
elia has joined #ruby-lang
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has quit [Remote host closed the connection]
allomov has quit [Ping timeout: 240 seconds]
Areessell has joined #ruby-lang
BubonicPestilenc has joined #ruby-lang
vondruch has quit [Ping timeout: 255 seconds]
bmichelsen has joined #ruby-lang
relix has joined #ruby-lang
saramic has joined #ruby-lang
jimbach has joined #ruby-lang
RoxasShadowRS has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
buddy_tucker has quit [Read error: Connection reset by peer]
buddy_tucker has joined #ruby-lang
parzzix has quit [Remote host closed the connection]
gianlucadv has quit [Ping timeout: 256 seconds]
sarkyniin has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
solars has quit [Ping timeout: 240 seconds]
tejas-manohar has left #ruby-lang [#ruby-lang]
tejas-manohar has joined #ruby-lang
<tejas-manohar> hey i got my question answered
tejas-manohar has left #ruby-lang [#ruby-lang]
oleo has quit [Ping timeout: 256 seconds]
oleo has joined #ruby-lang
solars has joined #ruby-lang
hahuang61 has joined #ruby-lang
workmad3 has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby-lang
havenwood has quit []
workmad3 has quit [Ping timeout: 272 seconds]
jimbach has joined #ruby-lang
Averna has joined #ruby-lang
kaiwren has quit [Quit: kaiwren]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arBmind has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Musashi007 has joined #ruby-lang
benanne has quit [Quit: kbai]
lewix has quit [Remote host closed the connection]
bmichelsen has quit [Quit: ZZZzzz…]
workmad3 has joined #ruby-lang
workmad3 has quit [Client Quit]
pablocantero has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
arBmind has joined #ruby-lang
RoxasShadowRS has quit [Quit: Leaving]
workmad3 has joined #ruby-lang
lewix has joined #ruby-lang
lewix has quit [Changing host]
lewix has joined #ruby-lang
allomov has joined #ruby-lang
charliesome has joined #ruby-lang
Demannu has quit [Remote host closed the connection]
bmichelsen has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
workmad3_ has joined #ruby-lang
Narzew has quit [Quit: Wychodzi]
hahuang61 has quit [Ping timeout: 265 seconds]
allomov has quit [Ping timeout: 258 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
workmad3_ has quit [Client Quit]
jimbach has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
Areessell has left #ruby-lang [#ruby-lang]
Demannu has joined #ruby-lang
symm- has quit [Ping timeout: 244 seconds]
arBmind has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
Demannu has quit [Ping timeout: 240 seconds]
pablocantero has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
jmrepett_ has quit [Remote host closed the connection]
<nofxx> How am I suppose to avoid the law&order with long strings? (rubocop) fail "This is really long message that makes a point, and it's also 100chars long"
<nofxx> "This is a message" + \n "continues" ?
<zenspider> who cares? I'd just turn it off since it really isn't helping in this case.
<zenspider> long messages are long. derp OH NOES
<zenspider> yes, they're long because they need to be sometimes
<nofxx> hmm, turn of only for strings? checking it out
<zenspider> If you really want to, prolly array of strings w/ a join? then they'll line up nice in your editor and maybe be a bit more readable.
<zenspider> I stick to at 80 col rule myself, so that's usually the way I go
<zenspider> or heredoc. but I hate heredocs most of the time
<nofxx> I like that rule too, it's exactly half my emacs screen hehe... but agree with your point if it's only for strings
<nofxx> would like to still get the errors of long lines of code
r0bby_ has joined #ruby-lang
frank_o has quit [Quit:]
klmlfl has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 264 seconds]
<zenspider> I've got my emacs full screened, split vertically in half, so I get autotest/shell on one side and code/test on the other
<zenspider> and emacs is set up to gray out any chars over 80 (79?)