jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
xall has joined #ruby
cyphase has joined #ruby
mistermocha has quit [Remote host closed the connection]
shevy has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xlegoman has quit [Quit: Leaving]
dminuoso has quit [Ping timeout: 244 seconds]
electrostat has joined #ruby
RickHull has quit [Quit: Page closed]
xall has quit [Ping timeout: 264 seconds]
shevy has quit [Ping timeout: 264 seconds]
memorasus has quit [Ping timeout: 240 seconds]
shevy has joined #ruby
SilverKey has joined #ruby
dhk has quit [Quit: Leaving]
SilverKey has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
Regulati_ has quit [Remote host closed the connection]
wilsonc91 has joined #ruby
rikkipit_ has quit [Remote host closed the connection]
<jhass> well, technically Ruby has metric tons of APIs
chadwtaylor has quit []
electrostat has quit [Remote host closed the connection]
Guest22196 has joined #ruby
rcvalle has quit [Quit: rcvalle]
bhaak has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
leea has joined #ruby
kavanagh has joined #ruby
AndroidLoverInSF has joined #ruby
sarbs has joined #ruby
davedev24 has quit []
Guest22196 has quit [Ping timeout: 272 seconds]
xall has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yma__gib has quit [Ping timeout: 272 seconds]
john2 has joined #ruby
hahuang61 has joined #ruby
john2 is now known as GreyMage
Rickmasta has joined #ruby
mikecmpbll has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lucky_ABA has joined #ruby
FernandoBasso has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Rickmast_ has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
Rickmasta has quit [Ping timeout: 264 seconds]
skweek has joined #ruby
dc2 has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
dc2 has joined #ruby
Rickmasta has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ullu has quit [Ping timeout: 244 seconds]
Rickmast_ has quit [Ping timeout: 246 seconds]
Rickmas__ has joined #ruby
pawnbox has joined #ruby
yma__gib has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Rickmasta has quit [Ping timeout: 240 seconds]
arescorpio has joined #ruby
Hobogrammer has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
Rickmas__ has quit [Ping timeout: 244 seconds]
Lucky_ABA has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 272 seconds]
craigp_ has quit [Ping timeout: 250 seconds]
slappy16 has quit [Quit: Leaving.]
GreyMage has quit [Quit: WeeChat 1.0.1]
AndroidLoverInSF has quit [Quit: Leaving]
GodFather has quit [Ping timeout: 276 seconds]
crystal77 has joined #ruby
djbkd has quit [Quit: My people need me...]
shevy has quit [Ping timeout: 264 seconds]
mfb2_ has joined #ruby
mattwashere has quit [Remote host closed the connection]
Ropeney has joined #ruby
electrostat has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shevy has joined #ruby
mfb2 has quit [Ping timeout: 252 seconds]
mfb2_ has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
xlegoman has joined #ruby
workmad3_ has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
shevy has quit [Ping timeout: 264 seconds]
thatsnotjack has joined #ruby
dvinciguerra_ has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby
workmad3_ has quit [Ping timeout: 258 seconds]
dminuoso has joined #ruby
marr has quit [Ping timeout: 240 seconds]
douglascorrea has joined #ruby
ciampix has quit [Ping timeout: 264 seconds]
douglascorrea has quit [Ping timeout: 250 seconds]
dminuoso has quit [Ping timeout: 258 seconds]
zotherstupidguy has joined #ruby
ur5us has quit [Remote host closed the connection]
Developer001 has quit [Read error: Connection reset by peer]
kavanagh has quit [Quit: That's all folks!]
moeabdol has joined #ruby
smathy is now known as smathy_afk
ullu has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
thatsnotjack has quit [Ping timeout: 272 seconds]
electrostat has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
electrostat has joined #ruby
mistermocha has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
mistermo_ has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
cdg has quit [Ping timeout: 244 seconds]
blandflakes has joined #ruby
jaguarmagenta has joined #ruby
Cohedrin has joined #ruby
rehat has joined #ruby
hahuang61 has joined #ruby
nando293921 has quit [Ping timeout: 240 seconds]
jaguarmagenta has quit [Ping timeout: 258 seconds]
macsteps has joined #ruby
macsteps has quit [Remote host closed the connection]
wilsonc91 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
macsteps has joined #ruby
agentmeerkat has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 264 seconds]
mistermocha has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
mistermo_ has joined #ruby
agentmeerkat has quit [Ping timeout: 244 seconds]
Rickmasta has joined #ruby
macsteps has quit [Ping timeout: 272 seconds]
mistermo_ has quit [Read error: Connection reset by peer]
zeroDi has quit [Quit: WeeChat 1.5]
mistermocha has quit [Ping timeout: 252 seconds]
tildes has quit [Ping timeout: 250 seconds]
rehat has quit [Remote host closed the connection]
lessless has joined #ruby
Dimik has quit [Ping timeout: 264 seconds]
xall has quit [Quit: WeeChat 1.5]
nando293921 has joined #ruby
rbennacer has joined #ruby
i8igmac has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
mistermo_ has joined #ruby
<i8igmac> whats your guys preferred online ruby.io emulator
<i8igmac> i thought it was ruby.io
dc2 has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
<jhass> wth is ruby.io
<adam12> ??
<i8igmac> to pastebin example scripts online
<jhass> doesn't even resolve
<i8igmac> its wrong. im trying to remember
Caerus|Away is now known as Caerus
<i8igmac> you guys have any preferred online ruby emulators?
<havenwood> i8igmac: gist.github.com
<havenwood> i8igmac: for mruby: https://joshnuss.github.io/mruby-web-irb/
<jhass> j/k I run that for something else, ruby's there just for fun
<adam12> jhass: I didn't know that :)
<jhass> >> "hello"
<jhass> ugh, still ruboto?
<adam12> I've used it here. Didn't know that you ran it (see it elsewhere too obv, since you stalk me in other channels).
<Caerus> hi hi :)
<havenwood> i8igmac: https://eval.in
<i8igmac> there it is evil
mistermocha has joined #ruby
<i8igmac> eval.in
<i8igmac> they all work
<havenwood> Caerus: hi
<ruby[bot]> jhass: I'm terribly sorry, I could not evaluate your code because of an error: Net::OpenTimeout:execution expired
<jhass> mmh
<jhass> can you all not say anything for 2 minutes? :P
jenrzzz has quit [Ping timeout: 244 seconds]
mistermocha has quit [Read error: Connection reset by peer]
ruby[bot] has quit [Remote host closed the connection]
mistermo_ has quit [Ping timeout: 244 seconds]
ruby[bot] has joined #ruby
<jhass> perfect
<jhass> >> "ping"
yma__gib has quit [Ping timeout: 258 seconds]
* jhass shrugs
nankyokusei has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
<ruby[bot]> jhass: I'm terribly sorry, I could not evaluate your code because of an error: Net::OpenTimeout:execution expired
workmad3 has joined #ruby
mistermocha has joined #ruby
<jhass> oh amazing, eval.in's v6 is down
shakes has joined #ruby
A_Drone has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.5]
mistermocha has quit [Read error: Connection reset by peer]
d0nn1e has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
mistermo_ has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
smathy has joined #ruby
d0nn1e has joined #ruby
zacstewart has quit [Ping timeout: 272 seconds]
<jhass> question is wth doesn't ruby fallback to v4
rkazak has joined #ruby
benlieb has joined #ruby
yma__gib has joined #ruby
mistermocha has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Ping timeout: 246 seconds]
mistermocha has quit [Ping timeout: 260 seconds]
benlieb has quit [Quit: benlieb]
mistermocha has joined #ruby
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
A_Drone has quit [Remote host closed the connection]
icarus has joined #ruby
mistermo_ has joined #ruby
yma__gib has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
rbennacer has quit [Remote host closed the connection]
mattwashere has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermo_ has quit [Read error: Connection reset by peer]
mattwashere has quit [Read error: No route to host]
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
rkazak has quit [Quit: Sleep.....ing....]
yma__gib has joined #ruby
mattwashere has joined #ruby
dminuoso has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
elifoster has joined #ruby
rbennacer has joined #ruby
A_Drone has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
DeepKnow has joined #ruby
DeepKnow has left #ruby [#ruby]
A_Drone_ has joined #ruby
dminuoso has quit [Ping timeout: 258 seconds]
mistermocha has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
shevy has joined #ruby
LoneHerm_ has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
A_Drone has quit [Ping timeout: 276 seconds]
Cohedrin has quit [Quit: Textual IRC Client: www.textualapp.com]
A_Drone_ has quit [Ping timeout: 252 seconds]
Caerus is now known as Caerus|Away
LoneHerm_ has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 264 seconds]
mistermocha has joined #ruby
A_Drone has joined #ruby
arthurl has joined #ruby
mistermo_ has joined #ruby
pawnbox has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
mistermocha has quit [Read error: Connection reset by peer]
mistermo_ has quit [Read error: Connection reset by peer]
febuiles has quit [Quit: febuiles]
mistermocha has joined #ruby
Log1x has quit [Ping timeout: 244 seconds]
A_Drone has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
A_Drone has joined #ruby
dsea has quit [Ping timeout: 264 seconds]
mistermo_ has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
Rodya_ has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
Es0teric has joined #ruby
mistermocha has joined #ruby
A_Drone has quit [Ping timeout: 260 seconds]
Log1x has joined #ruby
mistermo_ has joined #ruby
shakes has quit [Quit: Leaving]
ullu has quit [Ping timeout: 244 seconds]
tubuliferous has joined #ruby
misterm__ has joined #ruby
rkazak has joined #ruby
misterm__ has quit [Read error: Connection reset by peer]
mistermocha has quit [Read error: Connection reset by peer]
mistermo_ has quit [Read error: Connection reset by peer]
Guest42010 has quit [Quit: And then he took off.]
hahuang61 has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Excess Flood]
woodruffw has joined #ruby
icarus has quit [Quit: Lost terminal]
mistermocha has joined #ruby
yma__gib has quit [Ping timeout: 240 seconds]
Ropeney has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
houhoulis has joined #ruby
tmtwd has joined #ruby
agentmeerkat has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
jaguarmagenta has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Rodya_ has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
agentmeerkat has quit [Ping timeout: 258 seconds]
mgorbach has quit [Ping timeout: 260 seconds]
pilne has quit [Quit: Quitting!]
karapetyan has joined #ruby
agentmeerkat has joined #ruby
Rodya_ has quit [Remote host closed the connection]
howdoi has joined #ruby
arthurl has quit [Read error: Connection reset by peer]
yma__gib has joined #ruby
mgorbach has joined #ruby
neo__ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
preyalone has joined #ruby
Rodya_ has joined #ruby
neo_ has joined #ruby
mistermocha has joined #ruby
benlieb has joined #ruby
agentmeerkat has quit [Ping timeout: 244 seconds]
karapetyan has quit [Ping timeout: 272 seconds]
zacstewart has joined #ruby
Rodya_ has quit [Remote host closed the connection]
rkazak has quit [Quit: Sleep.....ing....]
mistermocha has quit [Ping timeout: 250 seconds]
yma__gib has quit [Ping timeout: 240 seconds]
jgt3 has quit [Ping timeout: 244 seconds]
blackgoat has joined #ruby
neo_ has quit [Ping timeout: 276 seconds]
Sammichmaker has joined #ruby
blackmesa has joined #ruby
benlieb has quit [Quit: benlieb]
zacstewart has quit [Ping timeout: 246 seconds]
dsea has joined #ruby
benlieb has joined #ruby
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xlegoman has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
neo_ has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
enterprisey has quit [Remote host closed the connection]
mistermocha has joined #ruby
ramfjord has joined #ruby
yma__gib has joined #ruby
douglascorrea has joined #ruby
lessless has joined #ruby
xall has joined #ruby
rbennacer has quit [Remote host closed the connection]
Rodya_ has joined #ruby
shevy has quit [Ping timeout: 264 seconds]
iMadper has joined #ruby
nettoweb has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
douglascorrea has quit [Ping timeout: 250 seconds]
nettoweb has quit [Client Quit]
jaguarmagenta has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 276 seconds]
pontiki has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
LoneHerm_ has joined #ruby
mtkd has joined #ruby
rbennacer has joined #ruby
wuyin has quit [Ping timeout: 250 seconds]
benlieb has quit [Quit: benlieb]
braincrash has joined #ruby
RegulationD has joined #ruby
thisguy123 has joined #ruby
smathy is now known as smathy_afk
benlieb has joined #ruby
Coldblackice has quit [Read error: Connection reset by peer]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ensyde has quit [Ping timeout: 252 seconds]
crystal77 has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Ping timeout: 244 seconds]
ensyde has joined #ruby
Coldblackice has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
skweek has quit [Ping timeout: 240 seconds]
Rickmast_ has joined #ruby
shevy has joined #ruby
ekinmur has joined #ruby
Rickmasta has quit [Ping timeout: 276 seconds]
gix has quit [Ping timeout: 272 seconds]
k3rn31 has joined #ruby
dnewkerk has quit [Quit: dnewkerk]
Rickmast_ has quit [Read error: Connection reset by peer]
yma__gib has quit [Ping timeout: 240 seconds]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Rickmasta has joined #ruby
shevy has quit [Ping timeout: 244 seconds]
gix has joined #ruby
hahuang61 has joined #ruby
mattwashere has quit [Remote host closed the connection]
LoneHermit has joined #ruby
thisguy123 has quit [Quit: Lost terminal]
sebstrax has joined #ruby
Lucky_ABA has joined #ruby
benlieb has quit [Quit: benlieb]
k3rn31 has quit [Quit: Computer has gone to sleep.]
hahuang61 has quit [Ping timeout: 250 seconds]
isberg has joined #ruby
hastur has joined #ruby
<hastur> hey, i just `gem install pg` yet the stack trace sayd "cannot load such file: pg". what gives?
<hastur> i'm using rvm and version 2.1.2
rbennacer has quit [Remote host closed the connection]
M-Kodo has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
M-mistake has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
<Radar> maybe using a different ruby in your `gem` command
<Radar> hastur: `which gem` please
jasvinder has joined #ruby
<hastur> ~/.rvm/rubies/ruby-2.1.2/bin/gem
jenrzzz has joined #ruby
<Radar> hastur: and what command are you running to get that cannot load such file error?
<Radar> That path checks out.
<hastur> `ruby pg.rb`
<Radar> hastur: `which ruby`?
<hastur> ~/.rvm/rubies/ruby-2.1.2/bin/ruby :(
c0mrad3 has joined #ruby
<Radar> Ok, that's fine too.
<Radar> `gem list` in a Gist please.
<Radar> and `gem env`
Yzguy has joined #ruby
<hastur> oh
<hastur> hangon have to add gem env
moeabdol has quit [Ping timeout: 244 seconds]
<Radar> Thanks
<Radar> pg is missing from your gem list
<Radar> hastur: Did you really run `gem install pg`?
<Radar> And did it succeed?
hutch34 has joined #ruby
<hastur> er, i did use sudo
* Arcaire puts quiet bets on apt-get install libpq-dev.
ramfjord has joined #ruby
<hastur> already libpq, i'll be taking that money thx
<Arcaire> You get nothing, because you used sudo.
<hastur> man
nankyokusei has joined #ruby
<hastur> half of my gems fail because i DON'T use sudo
<Arcaire> wew rvm
<Arcaire> best ruby installation system 2kever
<hastur> tried without sudo, pg now seems to work
<hastur> t-thanks
<Arcaire> y-you too
<Radar> hastur: now that you're using RVM, don't use sudo for anything.
<hastur> ahhh
<hastur> so sudo then rvm is okay, but not vice versa?
<Gnosis> lol'led at that one
hutch34 has quit [Ping timeout: 276 seconds]
shevy has joined #ruby
<hastur> at some point, you don't really have to know the idiosyncracies of every tool you use in order to merely use those tools
<hastur> we have long since passed that point
<Arcaire> that's why i evolved from using rvm
<Arcaire> and now use a systemwide ruby with a user-specific gemhome
<Arcaire> :^)
nankyokusei has quit [Ping timeout: 244 seconds]
<hastur> nice meme
<hastur> sounds like a lot of work m9
<Arcaire> nah
<Arcaire> `gem` read the environment variable
<Arcaire> automatically, it always has
<Arcaire> you just have to set it, which i do in .bashrc
<Arcaire> export GEM_HOME=$HOME/.gem
<Arcaire> ez
jenrzzz has quit [Ping timeout: 276 seconds]
<Arcaire> Systemwide ruby is just pacman -S ruby on my desktop, or whatever downloaded and installed in /usr myself
<Arcaire> on my server boxen
<hastur> mein mainframe
<Arcaire> m'ainframe
<hastur> kek
<hastur> that's pretty tite tho
<Arcaire> works v. well for me, and i don't have duplicate ruby versions lying around
<Arcaire> i'd rather have all my projects on one ruby version with semi-variable gem versions than totally variable everythings because you did 'rvm install' on a different date.
<Arcaire> ofc this doesn't work in "production" because people haven't worked out that Docker is a meta-meme yet and is actually okay.
blackmesa has joined #ruby
<hastur> what you're saying is
<hastur> "docker is a meme" is a meme
<Arcaire> this is
<Arcaire> what i'm saying
M-shine has joined #ruby
<Arcaire> it's alright if you secure it up right
<hastur> i have to applaud the way you turned what i said into what you said because that's a gorgeous use of meta
ramfjord has quit [Ping timeout: 244 seconds]
<hastur> or at least
<hastur> a correct usage
<hastur> which
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<hastur> in this climate
<hastur> in THIS economy
<Arcaire> in the CURRENT YEAR
<hastur> it's ................ 2016
vdamewood has quit [Ping timeout: 264 seconds]
shevy has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
shevy has joined #ruby
dminuoso has joined #ruby
vdamewood has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 244 seconds]
ekinmur has joined #ruby
ekinmur has quit [Client Quit]
houhoulis has quit [Remote host closed the connection]
mattwashere has joined #ruby
mattwashere has quit [Remote host closed the connection]
benlieb has quit [Ping timeout: 260 seconds]
wuyin has joined #ruby
xall has quit [Ping timeout: 258 seconds]
shevy has quit [Ping timeout: 264 seconds]
<Gnosis> You guys are either young or very passionate about memes and how a meme may become okay again.
<Gnosis> Or I am too tired to process all this.
<Arcaire> Little column A, little column B.
M-Kodo has joined #ruby
xall has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
arescorpio has quit [Quit: Leaving.]
shevy has joined #ruby
solocshaw has quit [Ping timeout: 264 seconds]
duncannz has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
RegulationD has joined #ruby
kareeoleez has joined #ruby
thatsnotjack has joined #ruby
shevy has quit [Ping timeout: 264 seconds]
<hastur> Memes Rule Everything Around Me
jgt3 has joined #ruby
<hastur> the meme war is at hand, brother
dminuoso has quit [Ping timeout: 252 seconds]
<hastur> arm yourself
zotherstupidguy has quit [Ping timeout: 258 seconds]
<Arcaire> lmao
<Arcaire> there's no way you're not from #ig
RegulationD has quit [Ping timeout: 276 seconds]
hastur has quit [Quit: Leaving]
nadir has quit [Quit: Connection closed for inactivity]
jgt3 has quit [Ping timeout: 258 seconds]
fclausen has joined #ruby
jaguarmagenta has joined #ruby
elifoster has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
karapetyan has joined #ruby
SilverKey has joined #ruby
No has joined #ruby
Devalo has joined #ruby
M-mistake has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
karapetyan has quit [Ping timeout: 244 seconds]
hk238 has joined #ruby
nadir has joined #ruby
hirvi has joined #ruby
k3rn31 has joined #ruby
Yzguy has quit [Quit: Zzz...]
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
hirvi has quit [Quit: leaving]
eljimmy has quit [Quit: Leaving]
hirvi has joined #ruby
gusrub has quit [Quit: Leaving]
tmtwd has quit [Ping timeout: 272 seconds]
ascarter has joined #ruby
shevy has joined #ruby
neo_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
zacstewart has joined #ruby
shevy has quit [Ping timeout: 264 seconds]
Devalo has quit [Remote host closed the connection]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
neo_ has joined #ruby
febuiles has joined #ruby
SilverKey has quit [Quit: Halted.]
blackmesa has quit [Ping timeout: 240 seconds]
dminuoso has joined #ruby
vdamewood has quit [Quit: Life beckons.]
moeabdol has joined #ruby
jas02 has joined #ruby
seth has quit [Ping timeout: 244 seconds]
amclain has quit [Quit: Leaving]
Vile` has quit [Ping timeout: 276 seconds]
dminuoso has quit [Remote host closed the connection]
moeabdol has quit [Ping timeout: 240 seconds]
seth has joined #ruby
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
seth has quit [Ping timeout: 276 seconds]
seth has joined #ruby
saneax_AFK is now known as saneax
RegulationD has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
jaguarmagenta has quit [Remote host closed the connection]
Hyuk has joined #ruby
dminuoso has joined #ruby
Hyuk has quit [Max SendQ exceeded]
unknown| has quit [Ping timeout: 246 seconds]
jaguarmagenta has joined #ruby
sauvin has joined #ruby
astrobunny has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
blandflakes has joined #ruby
dminuoso has quit [Remote host closed the connection]
blandflakes has quit [Client Quit]
srgupta has joined #ruby
roamingdog has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
srgupta has quit [Client Quit]
xall has quit [Ping timeout: 264 seconds]
tmillc has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
Lucky_ABA has joined #ruby
Rodya_ has quit [Remote host closed the connection]
neo_ has quit [Remote host closed the connection]
xall has joined #ruby
pawnbox has quit [Remote host closed the connection]
craigp_ has joined #ruby
isberg has quit [Remote host closed the connection]
zacstewart has joined #ruby
AlexRussia has quit [Ping timeout: 260 seconds]
isberg has joined #ruby
yfeldblum has quit [Remote host closed the connection]
tildes has joined #ruby
blackmesa has joined #ruby
zacstewart has quit [Ping timeout: 258 seconds]
astrobunny has quit [Remote host closed the connection]
thatsnotjack has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
tildes has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
ciampix has joined #ruby
ascarter has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
mattwashere has joined #ruby
mfb2 has joined #ruby
isberg has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 272 seconds]
TomyLobo has joined #ruby
isberg has joined #ruby
Hobogrammer has quit [Quit: WeeChat 0.4.2]
boogeyman has quit [Max SendQ exceeded]
boogeyman has joined #ruby
mattwashere has quit [Ping timeout: 244 seconds]
mfb2 has quit [Ping timeout: 246 seconds]
Dimik has joined #ruby
boogeyman has quit [Max SendQ exceeded]
boogeyman has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
boogeyman has quit [Max SendQ exceeded]
pawnbox has quit [Remote host closed the connection]
boogeyman has joined #ruby
pawnbox has joined #ruby
boogeyman has quit [Max SendQ exceeded]
Adarsh_why has joined #ruby
boogeyman has joined #ruby
<Adarsh_why> hi
boogeyman has quit [Remote host closed the connection]
<dminuoso> Hello Adarsh_why
<Adarsh_why> hello all. I am first time in irc
boogeyman has joined #ruby
<Adarsh_why> but this is cool
<Adarsh_why> Thanks @dminuoso
boogeyman has left #ruby [#ruby]
i8igmac has quit [Ping timeout: 250 seconds]
tildes has joined #ruby
<Adarsh_why> Is anybody here into functional programming in ruby?
skade has joined #ruby
<Adarsh_why> It seems everyone busy.
<Adarsh_why> ok Thanks. Later
RegulationD has joined #ruby
dhruvasagar has joined #ruby
shevy has joined #ruby
voodoofish430 has quit [Quit: Leaving.]
LoneHermit has quit [Remote host closed the connection]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
voodoofish430 has joined #ruby
sandelius has joined #ruby
Adarsh_why has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
jgt3 has joined #ruby
ullu has joined #ruby
vuoto has joined #ruby
conta has joined #ruby
blackgoat has quit [Ping timeout: 276 seconds]
i8igmac has joined #ruby
ullu has quit [Ping timeout: 260 seconds]
k3rn31 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
A5101 has quit [Ping timeout: 244 seconds]
DoubleMalt has joined #ruby
firstdayonthejob has joined #ruby
rodfersou has joined #ruby
roamingdog has quit [Ping timeout: 252 seconds]
AlexRussia has joined #ruby
emiltin has joined #ruby
firstdayonthejob has quit [Ping timeout: 244 seconds]
mark_66 has joined #ruby
Pumukel has joined #ruby
TomyLobo has quit [Ping timeout: 260 seconds]
patrick_star_3 has quit [Ping timeout: 276 seconds]
ur5us has quit [Remote host closed the connection]
blaxter has joined #ruby
Mia has quit [Read error: Connection reset by peer]
banjara has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
banjara has quit [Client Quit]
moeabdol has joined #ruby
ur5us has joined #ruby
patrick_star_3 has joined #ruby
andikr has joined #ruby
ensyde has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 240 seconds]
dmr8 has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
copperfield has joined #ruby
dc2 has joined #ruby
djbkd has joined #ruby
blackmesa has joined #ruby
yfeldblum has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
symm- has joined #ruby
yfeldblum has quit [Remote host closed the connection]
leea has joined #ruby
yfeldblum has joined #ruby
tmillc has left #ruby ["WeeChat 1.1.1"]
Parko has quit [Quit: In a while, crocodile]
douglascorrea has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
AlexRussia has quit [Ping timeout: 260 seconds]
codecop has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
teclator_ has joined #ruby
tildes has quit [Ping timeout: 244 seconds]
douglascorrea has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
solars has joined #ruby
jgt3 has quit [Ping timeout: 276 seconds]
ta_ has quit [Remote host closed the connection]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
aryaching has quit [Remote host closed the connection]
soulisson has joined #ruby
User458764 has joined #ruby
<soulisson> Hi, in ruby, are blocks objects that get implicitly passed to the function?
<User458764> Hi, how do I handle a Array string?
<User458764> I want to get an Array of course
RegulationD has joined #ruby
<dminuoso> soulisson: Not exactly objects.
astrobunny has joined #ruby
vqrs has quit [Ping timeout: 272 seconds]
<dminuoso> soulisson: Blocks are one of the very few things in Ruby that are actually not objects. But in a sense you are right.
<dminuoso> They do get implicitly passed, and you get test for their presence using block_given?
karapetyan has joined #ruby
vuoto has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
<soulisson> dminuoso, ok, so just the block address is passed to the function?
<dminuoso> soulisson: The exact details depend on the implementation.
the_drow has joined #ruby
vqrs has joined #ruby
rolfb has joined #ruby
LoneHerm_ has joined #ruby
febuiles has quit [Quit: febuiles]
CloCkWeRX has quit [Ping timeout: 252 seconds]
teclator_ is now known as teclator
n1x-nz has joined #ruby
<dminuoso> soulisson: But you have no direct way to interact with the block other than either a) calling yield or b) bind it to a proc.
antgel has joined #ruby
the_drow has quit [Client Quit]
RegulationD has quit [Ping timeout: 258 seconds]
hs366 has joined #ruby
hs366 has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 246 seconds]
ruby-lang910 has joined #ruby
ur5us has joined #ruby
<soulisson> ok
LoneHerm_ has quit [Ping timeout: 276 seconds]
<dminuoso> soulisson: Interestingly any proc object has a block attached to it - but it is that proc that is an actual Ruby object. That is also why binding a block to a proc is relatively cheap, because you only need to create a really small proc object, and then the block pointer gets assigned to it.
<soulisson> dminuoso, thanks
the_drow has joined #ruby
Couch has joined #ruby
<soulisson> dminuoso, another question, are methods objects in ruby?
ta_ has quit [Ping timeout: 272 seconds]
tildes has joined #ruby
the_drow has quit [Max SendQ exceeded]
<dminuoso> soulisson: They are not in fact. They also belong to that small group of things that are not objects.
CloCkWeRX has joined #ruby
the_drow has joined #ruby
<dminuoso> soulisson: You can unbind them though, and thus creating objects from them.
djbkd has quit [Remote host closed the connection]
joonty has joined #ruby
ur5us has quit [Ping timeout: 258 seconds]
<dminuoso> soulisson: The third and I think last bit is variables, they also are not objects.
<soulisson> ok, thank you very much
roamingdog has joined #ruby
hs366 has joined #ruby
tubuliferous has quit [Ping timeout: 240 seconds]
roamingdog has quit [Ping timeout: 260 seconds]
Sucks has joined #ruby
minimalism has quit [Quit: minimalism]
aganov has joined #ruby
AlexRussia has joined #ruby
biberu has joined #ruby
tildes has quit [Ping timeout: 244 seconds]
ta_ has joined #ruby
rkazak has joined #ruby
Niham has joined #ruby
soulisson has quit [Quit: Quitte]
<User458764> I try to convert a String to an Array, my array string is "[1, 2, 3]" and String.try_convert "[1, 2, 3]" returns me another String but not an Array, why?
voodoofish4301 has joined #ruby
voodoofish430 has quit [Ping timeout: 258 seconds]
AlexRussia has quit [Ping timeout: 260 seconds]
<adaedra> Because that's not what try_convert does
blackmesa has joined #ruby
<adaedra> try_convert tries to convert something into a string, not from
<adaedra> Your data however is JSON-parseable, so you can use that
tubuliferous has joined #ruby
yfeldblum has joined #ruby
dc2 has quit [Ping timeout: 276 seconds]
multi_io has quit [Ping timeout: 272 seconds]
mikecmpbll has joined #ruby
multi_io has joined #ruby
Ishido has quit [Ping timeout: 240 seconds]
tubuliferous has quit [Ping timeout: 244 seconds]
anisha has joined #ruby
jgt3 has joined #ruby
vondruch has quit [Quit: Ex-Chat]
arooni has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacstewart has joined #ruby
ramfjord has joined #ruby
benlieb has joined #ruby
<User458764> adaedra thanks JSON will do the job
jgt3 has quit [Ping timeout: 264 seconds]
zacstewart has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
Guest91508 has joined #ruby
aufi has joined #ruby
elaptics`away is now known as elaptics
Es0teric has quit [Quit: Computer has gone to sleep.]
anisha has quit [Read error: Connection timed out]
mattwashere has joined #ruby
Ishido has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
rkoller has joined #ruby
benlieb has quit [Quit: benlieb]
Silthias has joined #ruby
araujo_ has joined #ruby
araujo has quit [Ping timeout: 258 seconds]
araujo_ has quit [Max SendQ exceeded]
pandaant has joined #ruby
mattwashere has quit [Ping timeout: 264 seconds]
Silthias1 has joined #ruby
MrBusiness has quit [Ping timeout: 250 seconds]
Silthias has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jgt3 has joined #ruby
nofxx has quit [Ping timeout: 258 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
Snowy has joined #ruby
isxek has joined #ruby
Snowy has left #ruby [#ruby]
dmr8 has quit [Quit: Leaving]
fold4 has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
ferr1 has quit [Ping timeout: 246 seconds]
LoneHermit has joined #ruby
astrobunny has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
xall has quit [Ping timeout: 264 seconds]
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
RegulationD has quit [Ping timeout: 264 seconds]
LoneHermit has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 244 seconds]
Guest91508 has quit [Remote host closed the connection]
MrBusiness has joined #ruby
vondruch has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
mrgrieves has joined #ruby
blandflakes has joined #ruby
tomphp has joined #ruby
roamingdog has joined #ruby
blandflakes has quit [Client Quit]
jackjackdripper has quit [Quit: Leaving.]
jenrzzz has joined #ruby
braincrash has quit [Ping timeout: 276 seconds]
roamingdog has quit [Ping timeout: 258 seconds]
moeabdol has joined #ruby
fold4 has joined #ruby
solars has quit [Quit: WeeChat 0.4.2]
solars has joined #ruby
copperfield has quit [Ping timeout: 252 seconds]
stan has quit [Remote host closed the connection]
armyriad has quit [Ping timeout: 246 seconds]
braincrash has joined #ruby
Parker0_ has quit [Ping timeout: 252 seconds]
Parker0 has quit [Ping timeout: 246 seconds]
moeabdol has quit [Ping timeout: 276 seconds]
hs366 has quit [Ping timeout: 244 seconds]
rikkipitt has joined #ruby
stan has joined #ruby
fold4 has quit [Ping timeout: 244 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
tubuliferous has joined #ruby
hutch34 has joined #ruby
madgen has joined #ruby
sebstrax has quit [Quit: Connection closed for inactivity]
skade has joined #ruby
Ishido has quit [Ping timeout: 260 seconds]
JesseH has quit [Ping timeout: 258 seconds]
emiltin has quit [Quit: Computer has gone to sleep.]
tubuliferous has quit [Ping timeout: 246 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
hs366 has joined #ruby
ta_ has joined #ruby
fold4 has joined #ruby
zacstewart has joined #ruby
haxrbyte has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
marr has joined #ruby
haxrbyte has joined #ruby
pawnbox has joined #ruby
Niham has joined #ruby
idletask has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 272 seconds]
Sucks has quit [Ping timeout: 260 seconds]
zacstewart has quit [Ping timeout: 264 seconds]
DaniG2k has joined #ruby
blackgoat has joined #ruby
dc2 has joined #ruby
iszak_ is now known as iszak
iszak is now known as Guest37082
JesseH has joined #ruby
jaguarmagenta has joined #ruby
rikkipitt has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 240 seconds]
rikkipitt has joined #ruby
terlar has joined #ruby
karapetyan has joined #ruby
postmodern has quit [Quit: Leaving]
antgel has joined #ruby
lxsameer has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
karapetyan has quit [Ping timeout: 258 seconds]
jaiks1 has joined #ruby
Guest37082 is now known as iszak
iszak has quit [Changing host]
iszak has joined #ruby
jxs__ has quit [Ping timeout: 250 seconds]
rikkipitt has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
terlar has quit [Quit: WeeChat 1.5]
terlar has joined #ruby
RegulationD has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
A_Drone has joined #ruby
ex0ns has quit [Quit: Lost terminal]
ex0ns has joined #ruby
moeabdol has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
rikkipitt has joined #ruby
rbr has joined #ruby
TomyWork has joined #ruby
karapetyan has joined #ruby
YaknotiS has quit [Quit: Leaving]
SirOliver has joined #ruby
A_Drone has quit [Remote host closed the connection]
emilkarl has joined #ruby
toretore has joined #ruby
emilkarl has quit [Client Quit]
rikkipitt has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
YaknotiS has joined #ruby
braincrash has quit [Ping timeout: 244 seconds]
<gregf_> >> "[1, 2, 3]".scan(/\d+/).map(&:to_i)
<ruby[bot]> gregf_: # => [1, 2, 3] (https://eval.in/596867)
<gregf_> *scrolls to the bottom*
ruby-lang910 has left #ruby [#ruby]
blackmesa has quit [Ping timeout: 272 seconds]
tubuliferous has joined #ruby
rikkipitt has joined #ruby
braincrash has joined #ruby
A_Drone has joined #ruby
benlieb has joined #ruby
spiman has joined #ruby
scottj has joined #ruby
A_Drone has quit [Read error: Connection reset by peer]
A_Drone_ has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Ping timeout: 276 seconds]
Rickmasta has joined #ruby
zacstewart has joined #ruby
craigp_ has quit [Ping timeout: 260 seconds]
A_Drone_ has quit [Remote host closed the connection]
GodFather has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
GodFather has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 258 seconds]
blackmesa has joined #ruby
ur5us has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
johnmilton has quit [Remote host closed the connection]
c355e3b has joined #ruby
koooge has quit [Quit: Leaving...]
emiltin has joined #ruby
Shidash has left #ruby [#ruby]
mattwashere has joined #ruby
GodFather has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
yfeldblum has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
mattwashere has quit [Ping timeout: 250 seconds]
braincrash has quit [Ping timeout: 276 seconds]
binaryplease1 has joined #ruby
nettoweb has joined #ruby
A_Drone has joined #ruby
leea has joined #ruby
moeabdol has joined #ruby
binaryplease has quit [Ping timeout: 276 seconds]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
GodFather has quit [Read error: Connection reset by peer]
araujo has joined #ruby
GodFather has joined #ruby
User458764 has joined #ruby
braincrash has joined #ruby
araujo has quit [Max SendQ exceeded]
roamingdog has joined #ruby
araujo has joined #ruby
araujo has quit [Remote host closed the connection]
binaryplease1 is now known as binaryplease
ramfjord has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hs366 has quit [Ping timeout: 240 seconds]
emiltin has quit [Quit: Computer has gone to sleep.]
roamingdog has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
emiltin has joined #ruby
dhruvasagar has quit [Ping timeout: 244 seconds]
ullu has joined #ruby
ramfjord has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
ullu has quit [Ping timeout: 276 seconds]
tildes has quit [Ping timeout: 250 seconds]
conta has quit [Ping timeout: 258 seconds]
skade has quit [Quit: Computer has gone to sleep.]
rikkipitt has quit [Remote host closed the connection]
emiltin has quit [Quit: Computer has gone to sleep.]
A_Drone has quit []
iMadper has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
braincrash has quit [Ping timeout: 252 seconds]
braincrash has joined #ruby
blackmesa has joined #ruby
rikkipitt has joined #ruby
shadeslayer has quit [Remote host closed the connection]
bweston92 has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby
shadeslayer has joined #ruby
sdothum has joined #ruby
duncannz has quit [Ping timeout: 252 seconds]
SirOliver has quit [Quit: ZZZzzz…]
ta__ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
rbr has quit [Ping timeout: 252 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SirOliver has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
spiman_ has joined #ruby
davidblko has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
spiman has quit [Ping timeout: 264 seconds]
neo_ has joined #ruby
TheHodge has joined #ruby
Ishido has joined #ruby
blackmesa has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
ICantCook has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
strigonLeader has joined #ruby
SirOliver has quit [Quit: ZZZzzz…]
howdoi has quit [Quit: Connection closed for inactivity]
minimalism has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blandflakes has joined #ruby
craigp_ has joined #ruby
johnmilton has joined #ruby
No has quit [Ping timeout: 264 seconds]
blandflakes has quit [Client Quit]
nettoweb has joined #ruby
SirOliver has joined #ruby
kedare has joined #ruby
raeoks has joined #ruby
craigp_ has quit [Ping timeout: 260 seconds]
braincrash has quit [Ping timeout: 240 seconds]
jasvinder has quit [Ping timeout: 264 seconds]
unshadow has joined #ruby
braincrash has joined #ruby
n1x-nz has quit [Quit: Computer says no]
SirOliver has quit [Quit: ZZZzzz…]
tildes has joined #ruby
SirOliver has joined #ruby
shortCircuit__ has joined #ruby
<shortCircuit__> hi
<shortCircuit__> I have a question
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shortCircuit__> I have a module Abc which has a method foo and I also have a class Def which include Abc and also has a method foo .. now c = Def.new .. c.foo calls the class's foo ... how do I call the module's foo .... like a delegate or something
aryaching has joined #ruby
karapetyan has quit [Remote host closed the connection]
<shortCircuit__> is there something like a .call or .bind
<shortCircuit__> there is a .call on proc and lambda
braincrash has quit [Ping timeout: 244 seconds]
yqt has joined #ruby
braincrash has joined #ruby
karapetyan has joined #ruby
emilkarl has joined #ruby
SirOliver has quit [Remote host closed the connection]
spiman_ has quit []
eatsfoobars has joined #ruby
arnonhongklay has joined #ruby
eatsfoobars has quit [Client Quit]
blackmesa has quit [Ping timeout: 252 seconds]
conta has joined #ruby
karapetyan has quit [Remote host closed the connection]
neo_ has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
chip_ has joined #ruby
rikkipitt has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
<hanmac> shortCircuit__: from where do you want to call the Abc#foo ? from inside the Def#foo or from the object c ?
RegulationD has joined #ruby
<shortCircuit__> hanmac I would like from the object and Def#foo
spudowiar has quit [Ping timeout: 260 seconds]
tildes has quit [Remote host closed the connection]
rikkipitt has joined #ruby
<hanmac> from the Def#foo, just use "super", from the object you might need to alias the method to something lese like abc_foo
rolfb has quit [Quit: Leaving...]
craigp_ has joined #ruby
<shortCircuit__> I see .. so just alias it just after the include Abc
braincrash has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
douglascorrea has joined #ruby
mdw has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
douglascorrea has quit [Remote host closed the connection]
rolfb has joined #ruby
stoopidmunkey has joined #ruby
douglascorrea has joined #ruby
hs366 has joined #ruby
eatsfoobars has joined #ruby
rikkipitt has quit [Remote host closed the connection]
braincrash has joined #ruby
emiltin has joined #ruby
stoopidmunkey has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
stoopidmunkey has joined #ruby
dvinciguerra_ has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
Vile` has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
joonty has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
nennes has joined #ruby
skade has joined #ruby
mdw has joined #ruby
aryaching has joined #ruby
Gasher has joined #ruby
mdw has quit [Client Quit]
Fernando-Basso has joined #ruby
solars has quit [Ping timeout: 258 seconds]
neo_ has joined #ruby
pawnbox has joined #ruby
bkxd has joined #ruby
karapetyan has joined #ruby
User458764 has joined #ruby
nennes has quit [Ping timeout: 252 seconds]
carella has joined #ruby
neo_ has quit [Ping timeout: 258 seconds]
hanmac has joined #ruby
ramfjord has joined #ruby
No has joined #ruby
ullu has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
zacstewart has joined #ruby
samara has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
synthroid has joined #ruby
workmad3 has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
stoopidmunkey has quit [Ping timeout: 244 seconds]
rikkipitt has joined #ruby
chip_ has quit [Ping timeout: 258 seconds]
tvw has joined #ruby
eatsfoobars has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 258 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
Guest14 has joined #ruby
blackmesa has joined #ruby
Guest14 is now known as sinpai
lenwood has joined #ruby
hutch34 has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
prestorium has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
douglascorrea has quit [Remote host closed the connection]
blandflakes has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
Amnez777 has quit [Ping timeout: 246 seconds]
Alina-malina has quit [Ping timeout: 252 seconds]
aupadhye has joined #ruby
fmcgeough has joined #ruby
chip_ has joined #ruby
davedev24 has joined #ruby
GodFather has joined #ruby
douglascorrea has joined #ruby
pawnbox has joined #ruby
<shevy> hmm
<shevy> if only rubygems.org would have an issue request thingy!
blackgoat has quit [Quit: WeeChat 1.5]
CJKinni has joined #ruby
fclausen_ has joined #ruby
ullu has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby
No has quit [Ping timeout: 264 seconds]
fclausen has quit [Ping timeout: 240 seconds]
ych has joined #ruby
<rapha_> shevy: no copy of the Gem on Github?
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
Vile` has quit [Ping timeout: 240 seconds]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
pawnbox has joined #ruby
No has joined #ruby
<shevy> rapha_ yeah but I am so lazy :(
<shevy> it's a fair enough question though :)
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rapha_> true :)
ngw has joined #ruby
mrgrieves has quit [Quit: leaving]
madgen has quit [Ping timeout: 258 seconds]
<jhass> can't one configure a bugtracker url?
emilkarl has joined #ruby
<toretore> if someone filed issues for my libraries on rubygems.org i'd be annoyed
swills has quit [Ping timeout: 246 seconds]
aegis3121 has joined #ruby
codecop has quit [Remote host closed the connection]
sergio_101 has joined #ruby
neo_ has joined #ruby
dopie has quit [Quit: Leaving]
ejnahc has quit [Quit: leaving]
aupadhye has quit [Ping timeout: 244 seconds]
howdoi has joined #ruby
pawnbox has quit [Remote host closed the connection]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
aupadhye has joined #ruby
ramortegui has joined #ruby
sandelius has quit [Read error: Connection reset by peer]
Jardayn has joined #ruby
tubuliferous has joined #ruby
karapetyan has quit [Remote host closed the connection]
wilsonc91 has joined #ruby
Akuma has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
pawnbox has joined #ruby
ChiefAlexander has joined #ruby
nando293921 has joined #ruby
JesseH has quit [Remote host closed the connection]
zacstewart has joined #ruby
hutch34 has quit [Ping timeout: 276 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
chip_ has quit [Ping timeout: 260 seconds]
stoopidmunkey has joined #ruby
carella has quit [Remote host closed the connection]
carella has joined #ruby
roamingdog has joined #ruby
blackmesa has joined #ruby
bmurt has joined #ruby
mattwashere has joined #ruby
karapetyan has quit [Remote host closed the connection]
hoov has joined #ruby
kobain has joined #ruby
ta_ has joined #ruby
roamingdog has quit [Ping timeout: 258 seconds]
chip_ has joined #ruby
CJKinni has quit [Read error: Connection reset by peer]
aegis3121 has quit [Ping timeout: 246 seconds]
Vile` has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
ta___ has joined #ruby
stoopidmunkey has quit [Remote host closed the connection]
stoopidmunkey has joined #ruby
ta__ has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
agentmeerkat has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
Bish has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emiltin has quit [Quit: Computer has gone to sleep.]
<Bish> hi folkies, how would you parse strings like [<user>][:<password>@hostname[:<port>]
aryaching has joined #ruby
<Bish> i could use URI but i would've to prepend a dummyschema first, which i think is dirty
<Bish> plain old regex?
<jhass> including the [] ?
<Bish> no, that's for "showing" optionality
<jhass> I'm afraid dummy schema is your best bet
<Bish> okay, will do that
<jhass> you don't want to venture into the dark lands that are parsing URI with regex
<Bish> yeah, im gonna listen to #ruby regarding that, after parsing html with regex
<Bish> :D
karapetyan has quit [Remote host closed the connection]
<Bish> having tried*
moeabdol has quit [Quit: WeeChat 1.4]
eatsfoobars has joined #ruby
raeoks has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
catbusters has quit [K-Lined]
saneax has quit [K-Lined]
jokester has quit [K-Lined]
Omni_ has quit [Ping timeout: 264 seconds]
mattwashere has quit [Remote host closed the connection]
aegis3121 has joined #ruby
carella has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
jokester has joined #ruby
workmad3 has joined #ruby
carella has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte_ has joined #ruby
Vingador has joined #ruby
malconis has quit [Remote host closed the connection]
catbusters has joined #ruby
mattwashere has joined #ruby
eatsfoobars has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
malconis has joined #ruby
Es0teric has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
synthroi_ has joined #ruby
catbusters has quit [K-Lined]
jokester has quit [K-Lined]
diegoviola has joined #ruby
No has quit [Ping timeout: 264 seconds]
DaniG2k has joined #ruby
Omni_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
rikkipit_ has joined #ruby
synthroid has quit [Ping timeout: 240 seconds]
agentmeerkat has quit [Ping timeout: 272 seconds]
spiette has joined #ruby
sanjayu has joined #ruby
rapha_ has quit [Quit: WeeChat 1.4]
rapha has joined #ruby
hoov has quit [Quit: Leaving]
rikkipitt has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
shinnya has joined #ruby
hk238 has quit [Ping timeout: 244 seconds]
SilverKey has joined #ruby
karapetyan has quit [Remote host closed the connection]
hutch34 has joined #ruby
fclausen_ has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
tubuliferous has quit [Ping timeout: 260 seconds]
Amnez777 has joined #ruby
nankyokusei has joined #ruby
douglascorrea has quit [Remote host closed the connection]
metaphori has joined #ruby
rbennacer has joined #ruby
yqt has quit [Ping timeout: 260 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
dstarh has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
DaniG2k has quit [Quit: leaving]
lxsameer has quit [Quit: WeeChat 1.5]
siovene has quit [Quit: Connection closed for inactivity]
rikkipit_ has quit [Quit: Leaving...]
metaphori has left #ruby [#ruby]
hutch34 has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
camilasan has quit [Remote host closed the connection]
anagha_ has joined #ruby
roby_ has joined #ruby
Snowy has joined #ruby
camilasan has joined #ruby
emiltin has joined #ruby
aupadhye_ has joined #ruby
aupadhye has quit [Ping timeout: 246 seconds]
roby_ has quit [Client Quit]
roby_ has joined #ruby
joonty1 has joined #ruby
roby_ has quit [Client Quit]
joonty has quit [Ping timeout: 252 seconds]
metaphori has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
Snowy is now known as NewNewCompte
emiltin has quit [Client Quit]
antgel has joined #ruby
aryaching has joined #ruby
Vingador has quit [Quit: http://quassel-irc.org - Bate-papo confortável em qualquer lugar.]
helpa has quit [Remote host closed the connection]
aupadhye_ has quit [Ping timeout: 240 seconds]
helpa has joined #ruby
macsteps has joined #ruby
dvinciguerra_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 276 seconds]
dhk has joined #ruby
<shevy> regexes can parse the world
No has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
aryaching has quit [Ping timeout: 272 seconds]
dvinciguerra_ has joined #ruby
ych has joined #ruby
emilkarl has joined #ruby
craigp_ has quit [Ping timeout: 244 seconds]
synthroid has joined #ruby
dhk has quit [Client Quit]
eatsfoobars has joined #ruby
hk238 has joined #ruby
SilverKey has quit [Quit: Halted.]
synthroi_ has quit [Ping timeout: 244 seconds]
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has joined #ruby
agentmeerkat has joined #ruby
macsteps has quit [Remote host closed the connection]
anisha_ has joined #ruby
anisha has quit [Read error: Connection reset by peer]
<jhass> shevy: is that so? What's a regex for finding the character at N/2 a string for arbitrary length N?
blackmesa has quit [Ping timeout: 252 seconds]
<jhass> *for a
SilverKey has joined #ruby
ta___ has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
NewNewCompte is now known as Snawy
aryaching has joined #ruby
ta_ has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
roamingdog has joined #ruby
SilverKey has quit [Client Quit]
LoneHermit has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 276 seconds]
<ljarvis> unpossible
aryaching has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
andikr has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
shortCircuit__ has quit [Ping timeout: 250 seconds]
jnoob22 has quit [Quit: Leaving]
LoneHermit has quit [Ping timeout: 252 seconds]
ekinmur has joined #ruby
arthurl has joined #ruby
jgt3 has quit [Ping timeout: 260 seconds]
thatsnotjack has joined #ruby
nando293921 has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
jokester has joined #ruby
emiltin has joined #ruby
Gasher has quit [Quit: Leaving]
jnoob22 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
ullu_ has joined #ruby
l4v2 has joined #ruby
hutch34 has joined #ruby
<l4v2> what class are most of the assertion methods in? because I don’t see Test::Unit::Assertion
<l4v2> I’m using Dash on Mac to search them
<ljarvis> l4v2: you sure you're not using minitest?
wilsonc91 has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
saneax_AFK has joined #ruby
unshadow has quit [Quit: leaving]
ullu_ has quit [Ping timeout: 258 seconds]
<l4v2> I’m still in very on in learning Ruby and Rails, so I am not sure about that, but that was Rubies Docs. But then again, Rails might inheret a lot from Ruby
saneax_AFK is now known as saneax
SilverKey has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
polishdub has joined #ruby
ChiefAlexander has joined #ruby
aufi has joined #ruby
svkurowski has quit [Ping timeout: 240 seconds]
mattwashere has quit [Remote host closed the connection]
catbusters has joined #ruby
rafadc has joined #ruby
benlieb has quit [Quit: benlieb]
<l4v2> So if I am inhereting from this class class PasswordResetsTest < ActionDispatch::IntegrationTest Then how do I have access to a mehtod I don’t see listed in it like: assert_template Where do these methods live?
svkurowski has joined #ruby
<ljarvis> l4v2: http://api.rubyonrails.org type in assert_
<ljarvis> and be amazed
karapetyan has joined #ruby
banister has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
ullu has joined #ruby
No has quit [Ping timeout: 246 seconds]
kareeoleez has quit [Remote host closed the connection]
<l4v2> ljarvis, I am going up the dependancy tree, and got to Minitest::Test and I don’t see it
marr has quit [Ping timeout: 244 seconds]
<ljarvis> l4v2: you want assert_template
<ljarvis> ?
scottj has quit [Quit: leaving]
<ljarvis> because as i just said, you should type it into the rails docs i just linked you: http://api.rubyonrails.org/classes/ActionController/TemplateAssertions.html#method-i-assert_template
<l4v2> More than anything, I am just trying to learn how to find things when I need them, or just see what options a class has
Rodya_ has joined #ruby
Beverage has quit [Ping timeout: 250 seconds]
<ljarvis> you would generally search the api docs for the class or method name, and then look
<ljarvis> e.g. if you want the docs for ActiveRecord::Base, you can just type it into api.rubyonrails.org
Wsewolod has joined #ruby
<l4v2> Does everything in active record inheret from base?
aegis3121 has quit [Ping timeout: 276 seconds]
rippa has joined #ruby
<ljarvis> that's the class active record models inherit from
jaiks1 has quit [Remote host closed the connection]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<l4v2> Is ther a good tutroial on learning docs for Rails?
arooni has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
<shevy> jhass I can't solve your homework problems for you!
aegis3121 has joined #ruby
Xiti has quit [Quit: Xiti]
rafadc has quit [Remote host closed the connection]
rafadc has joined #ruby
<l4v2> THis is the unfriendliest room. I’m asking a general question to improve my skills, should I talk about cars?
pawnbox has joined #ruby
<jhass> shevy: give me a hint
rafadc has quit [Remote host closed the connection]
Wildfyr has joined #ruby
<shevy> jhass rubular.com
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506]]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox_ has joined #ruby
`tim` has joined #ruby
Xiti has joined #ruby
sinpai has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> shevy: http://rubular.com/r/cInPEcoPy7 is what I tried, it works for the first and second, but how do I get c for the third and fourth and d for the fifth?
<shevy> no that sucks
workmad3 has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
swills has joined #ruby
lenwood has quit [Ping timeout: 264 seconds]
sanjayu has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
Beverage has joined #ruby
Rodya_ has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
yardenbar has joined #ruby
synthroid has quit [Remote host closed the connection]
<jhass> shevy: do you have a specific section I should look at?
anisha_ has quit [Quit: Leaving]
chouhoulis has joined #ruby
Rodya_ has joined #ruby
Wsewolod has quit [Ping timeout: 258 seconds]
chouhoulis has quit [Remote host closed the connection]
blackmesa has joined #ruby
chouhoulis has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wildfyr has quit [Quit: Gotta go]
karapetyan has quit [Remote host closed the connection]
aufi has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
kareeoleez has joined #ruby
mistermocha has quit [Remote host closed the connection]
crystal77 has joined #ruby
crystal77 has quit [Client Quit]
blackmesa has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
Rodya_ has quit [Remote host closed the connection]
tristanp has quit [Read error: Connection reset by peer]
svkurowski has quit [Ping timeout: 276 seconds]
CloCkWeRX has quit [Quit: Leaving.]
tristanp has joined #ruby
macsteps has joined #ruby
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :sinisalo.freenode.net"]
solars has joined #ruby
karapetyan has joined #ruby
rodfersou is now known as rodfersou|lunch
Rodya_ has joined #ruby
GodFather has quit [Remote host closed the connection]
jas02 has quit [Quit: jas02]
RegulationD has quit [Ping timeout: 276 seconds]
svkurowski has joined #ruby
GodFather has joined #ruby
mattwashere has joined #ruby
ta__ has joined #ruby
Vingador has joined #ruby
conta has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 272 seconds]
Rodya_ has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Rodya_ has joined #ruby
ta_ has quit [Ping timeout: 246 seconds]
karapetyan has joined #ruby
smathy has joined #ruby
metaphori has quit []
Symbiosisz has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
tvon has joined #ruby
carella has quit [Remote host closed the connection]
hs366 has quit [Quit: Leaving]
naftilos76 has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
Hyuk has joined #ruby
SilverKey has quit [Quit: Halted.]
DoubleMalt has quit [Remote host closed the connection]
Rodya_ has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Hyuk has quit [Max SendQ exceeded]
kp666 has quit [Quit: Leaving]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
No has joined #ruby
DaniG2k has joined #ruby
tvw has quit []
tvw has joined #ruby
ciampix has quit [Ping timeout: 246 seconds]
tfitts has quit [Quit: Connection closed for inactivity]
Rodya_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
allcentury has joined #ruby
terlar has quit [Ping timeout: 276 seconds]
Rodya_ has joined #ruby
ta__ has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
mtkd has quit [Ping timeout: 258 seconds]
DaniG2k has quit [Client Quit]
Beverage has quit [Quit: Leaving]
mtkd has joined #ruby
huyderman has quit [Remote host closed the connection]
Jardayn has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
mistermocha has joined #ruby
bmurt has joined #ruby
eatsfoobars has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
emiltin has joined #ruby
macsteps has quit [Remote host closed the connection]
bmurt has quit [Client Quit]
eatsfoobars has joined #ruby
macsteps has joined #ruby
dionysus69 has joined #ruby
mwlang has joined #ruby
carella has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
mistermocha has quit [Ping timeout: 258 seconds]
carella has quit [Remote host closed the connection]
symm- has joined #ruby
jetpackjoe has joined #ruby
chip_ has quit [Ping timeout: 264 seconds]
carella has joined #ruby
roamingdog has quit [Remote host closed the connection]
isberg has quit [Remote host closed the connection]
rafadc has joined #ruby
Ubear has joined #ruby
amclain has joined #ruby
eatsfoobars has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
wrkrcoop has joined #ruby
rafadc has quit [Remote host closed the connection]
<wrkrcoop> if i have a module and that module has a method
<wrkrcoop> how can i call that method if it doesn’t have self. as a prefix?
Lucky_ABA has joined #ruby
hutch34 has joined #ruby
<workmad3> wrkrcoop: you need to include the module into a class, and then that method will be available as an instance method of the class
<wrkrcoop> workmad3: ah i see
emiltin has quit [Quit: Computer has gone to sleep.]
yqt has joined #ruby
Rodya_ has quit [Remote host closed the connection]
kedare has quit [Quit: Leaving]
TomyLobo has joined #ruby
synthroid has joined #ruby
synthroi_ has joined #ruby
huyderman has joined #ruby
tvon has quit [Quit: System is sleeping...]
`tim` has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
tomphp has quit [Ping timeout: 260 seconds]
teclator has quit [Ping timeout: 240 seconds]
joonty1 has quit [Quit: This computer has gone to sleep]
Rodya_ has joined #ruby
synthroid has quit [Ping timeout: 264 seconds]
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Couch has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
isberg has joined #ruby
Wildfyr has joined #ruby
nando293921 has joined #ruby
ciampix has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
jas02 has joined #ruby
workmad3 has joined #ruby
SilverKey has joined #ruby
CJKinni has joined #ruby
Rodya_ has quit [Remote host closed the connection]
nando293921 has quit [Quit: Lost terminal]
nando293921 has joined #ruby
ngw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
blackmesa has joined #ruby
Rodya_ has quit [Remote host closed the connection]
znz_jp has quit [Remote host closed the connection]
lenwood has joined #ruby
Ubear has left #ruby [#ruby]
jxs_ has joined #ruby
solars has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
znz_jp has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
elomatreb has quit [Max SendQ exceeded]
Rodya_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 244 seconds]
elomatreb has joined #ruby
dc2 has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
skade has joined #ruby
nankyokusei has joined #ruby
Oog has joined #ruby
banister has joined #ruby
rafadc has joined #ruby
Rodya_ has joined #ruby
lenwood has quit [Ping timeout: 260 seconds]
tvon has joined #ruby
synthroid has joined #ruby
LoneHerm_ has joined #ruby
nogic has joined #ruby
nogic has quit [Max SendQ exceeded]
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<elomatreb> Good evening. Does anyone in here have some experience with writing a custom Redcarpet renderer class?
nogic has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
synthroi_ has quit [Ping timeout: 250 seconds]
slackbotgz has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Rodya_ has quit [Remote host closed the connection]
blandflakes has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
mattwashere has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 244 seconds]
wrkrcoop has quit [Quit: wrkrcoop]
<smathy> wrkrcoop, or you can use the `extend self` trick - not sure how kosher that's considered /cc workmad3
mattwashere has joined #ruby
ramfjord has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
ldnunes has joined #ruby
blackmesa has joined #ruby
Rodya_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
stoopidmunkey has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
Rodya_ has quit [Remote host closed the connection]
neo__ has joined #ruby
Rodya_ has joined #ruby
momo-reina has joined #ruby
momo-reina has quit [Remote host closed the connection]
<Wildfyr> ok ... any projects u guys would recommend for a ruby beginner
Snawy has quit [Quit: ragequit]
chouhoulis has quit [Ping timeout: 250 seconds]
momo-reina has joined #ruby
<havenwood> Wildfyr: Looking for something that already exists to look at or to do yourself?
momo-reina has quit [Read error: Connection reset by peer]
neo__ has quit [Ping timeout: 246 seconds]
neo_ has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
DanyC has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
l4v2 has quit [Ping timeout: 240 seconds]
mistermo_ has joined #ruby
mfb2 has joined #ruby
arthurl has joined #ruby
freerobby has quit [Quit: Leaving.]
<Wildfyr> havenwood: do myself
<havenwood> wrkr, ah they left, was going to suggest module_funciton
<havenwood> funcitron!
dhruvasagar has joined #ruby
wrkrcoop has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
jgt3 has joined #ruby
freerobby has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
<Wildfyr> funcitron?
<havenwood> Wildfyr: Exercism has some good challenges and feedback to hone your answer: http://exercism.io/languages/ruby
mfb2 has quit [Remote host closed the connection]
<havenwood> Wildfyr: I misspelt "function," it was supposed to be "module_function."
rodfersou|lunch is now known as rodfersou
rafadc has quit []
vdamewood has joined #ruby
d0nn1e has joined #ruby
neo_ has joined #ruby
mfb2 has joined #ruby
<Wildfyr> oh
<Wildfyr> uh ....?
karapetyan has quit [Remote host closed the connection]
xaxisx has joined #ruby
SCHAAP137 has joined #ruby
DanyC has left #ruby [#ruby]
lenwood_ has joined #ruby
<havenwood> class Module; alias module_funkitron module_function endalias module_funkitron
l4v2 has joined #ruby
CJKinni has quit [Remote host closed the connection]
tomchapin has joined #ruby
<smathy> Oh yeah, module_function, havenwood ftw. I always forget about that.
<havenwood> Wildfyr: Even if you don't want to use exercism they have some good project ideas. But I'd suggest giving it a try since you can get some good feedback. Show us your project here too!
dminuoso has joined #ruby
neo_ has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
<Wildfyr> havenwood: okay
SilverKey has quit [Quit: Halted.]
Lucky_ABA has quit [Read error: Connection reset by peer]
jas02 has quit [Quit: jas02]
Devalo has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
ciampix has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
neo_ has joined #ruby
emiltin has joined #ruby
nando293921 has quit [Ping timeout: 250 seconds]
SilverKey has joined #ruby
arooni has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
Guest61380 has quit [Quit: mIRC 5.91 (16 bit) for Microsoft © Windows For WorkGroups 3.11®]
SilverKey has quit [Max SendQ exceeded]
jxs_ has quit [Remote host closed the connection]
ciampix has joined #ruby
Devalo has joined #ruby
SilverKey has joined #ruby
macsteps has quit [Remote host closed the connection]
aegis3121 has joined #ruby
karapetyan has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
mattwashere has quit [Remote host closed the connection]
tvon has quit [Quit: System is sleeping...]
mattwashere has joined #ruby
tvon has joined #ruby
Wsewolod has joined #ruby
mwlang has quit [Quit: mwlang]
slackbotgz has quit [Remote host closed the connection]
<agent_white> Mornin'
prefix has joined #ruby
solars has joined #ruby
<baweaver> havenwood: what's the use of module_function?
Silthias1 has quit [Quit: Leaving.]
* baweaver is skimming through the docs on it.
macsteps has joined #ruby
<aegis3121> It declares a method as being accessible with the Module as the receiver
<aegis3121> IIRC
<aegis3121> e.g. class methods for modules
<havenwood> baweaver: When you want the module method but also a private method by the same name when you include the module.
<baweaver> so def self.method ?
ChiefAlexander has joined #ruby
<baweaver> not really seeing it, but that might just be the pre-coffee haze talking
<havenwood> baweaver: Yeah, it's that plus the private method when you include it.
isxek has quit [Quit: Leaving]
dionysus69 has quit [Ping timeout: 260 seconds]
antgel has quit [Ping timeout: 260 seconds]
Oog has quit []
blackmesa has joined #ruby
stoopidmunkey has joined #ruby
<havenwood> Like fileutils, etc in the stdlib - you might want to call the self.method-style directly on the module, but alternatively you might want to include the module, but have the included method be private. I'm having not-enough-coffee explaining difficulty. :P
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
nettoweb has joined #ruby
sebstrax has joined #ruby
karapetyan has quit [Remote host closed the connection]
Wildfyr has quit [Ping timeout: 244 seconds]
ciampix has quit [Ping timeout: 264 seconds]
hirvi has quit [Quit: brb]
Wildfyr has joined #ruby
hahuang61 has joined #ruby
synthroi_ has joined #ruby
dionysus69 has joined #ruby
<funrep> what does "ModuleName::some_variable? ModuleName::some_other_var" mean?
<funrep> context: predicate in an if statement
karapetyan has joined #ruby
thatsnotjack has quit [Ping timeout: 244 seconds]
<baweaver> sure it's a variable?
<baweaver> might just be used as a namespace
agentmeerkat has quit [Ping timeout: 240 seconds]
<dminuoso> irb
<baweaver> like Aws::EC2::connecrions
karapetyan has quit [Remote host closed the connection]
troulouliou_div2 has quit [Quit: Leaving]
SilverKey has quit [Quit: Halted.]
karapetyan has joined #ruby
synthroid has quit [Ping timeout: 276 seconds]
pilne has joined #ruby
karapetyan has quit [Remote host closed the connection]
hirvi has joined #ruby
edwardly has quit [Ping timeout: 272 seconds]
kirun has joined #ruby
mattwashere has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 276 seconds]
macsteps has quit [Remote host closed the connection]
mattwashere has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
<funrep> im just not sure what the "?" means, because i cant find a variable with tatt exact name, only without the ? in the libraries docs
yardenbar has joined #ruby
hutch34 has joined #ruby
rkazak has joined #ruby
freerobby has joined #ruby
<baweaver> ah
<baweaver> that
<baweaver> It's a stylistic thing. Ruby methods can have ? or ! on the end
<baweaver> they're usually used to indicate boolean (a question) or danger / mutation
<funrep> ah alright!
<baweaver> Like if I wanted to know if Person Bob was legal, I might ask: bob.legal?
<l4v2> yes
<baweaver> ! (bang) methods normally indicate mutation, like map vs map!
mattwashere has quit [Ping timeout: 252 seconds]
<Wildfyr> and "?"?
<baweaver> I mentioned it above
LoneHermit has quit [Ping timeout: 252 seconds]
<baweaver> >> [1,2,3].any? { |i| i.even? }
<ruby[bot]> baweaver: # => true (https://eval.in/597152)
<baweaver> any? asks if any objects in the enumerable are true. We're asking the objects in the block if they're even. 2 is, so any? is true.
agentmeerkat has joined #ruby
<baweaver> (I'm explicitly writing longhand before someone mentions that)
karapetyan has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
stoopidmunkey has quit [Remote host closed the connection]
stoopidmunkey has joined #ruby
<baweaver> As for bang methods....
<baweaver> >> [1,2,3].map { |i| i * 2 }
<ruby[bot]> baweaver: # => [2, 4, 6] (https://eval.in/597153)
<baweaver> >> a = [1,2,3].map { |i| i * 2 }; a
<ruby[bot]> baweaver: # => [2, 4, 6] (https://eval.in/597154)
<baweaver> >> a = [1,2,3]; a.map { |i| i * 2 }; a
<ruby[bot]> baweaver: # => [1, 2, 3] (https://eval.in/597155)
<baweaver> >> a = [1,2,3]; a.map! { |i| i * 2 }; a
<ruby[bot]> baweaver: # => [2, 4, 6] (https://eval.in/597156)
<baweaver> `map!` transforms the array. `map` simply returns a new array without modifying the original.
craigp_ has joined #ruby
<baweaver> funrep / Wildfyr: that about cover it?
<baweaver> Consider also reading through Eloquent Ruby, as it tends to cover a lot of this information in more detail than I can hope to on IRC.
<baweaver> l4v2: ???
<baweaver> random yes, or scrollback issue?
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
yardenbar has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<l4v2> bweaver what?
<baweaver> you randomly said yes up there a bit ago
karapetyan has joined #ruby
<l4v2> oh, I thought your explanation was hime asking if that is how the bob.legal worked
<l4v2> I was saying yes to it
Vingador has quit [Ping timeout: 240 seconds]
<baweaver> I think we all need coffee this morning havenwood :D
tubuliferous has joined #ruby
postmodern has joined #ruby
<l4v2> Ok so how am I supposed to know that methods from MiniTest in Ruby are available in Rails class ActionDispatch::IntegrationTest
elifoster has joined #ruby
karapetyan has quit [Remote host closed the connection]
<l4v2> The rails docs do not show that parent class
* baweaver knows precious little about minitest
karapetyan has joined #ruby
<baweaver> also meeting time, be back later.
davidblko has quit [Remote host closed the connection]
<smathy> l4v2, it's probably not a parent class, probably just mixed in. The Rails API isn't really very formally specified, mostly people know because they learnt from a tutorial, generator, or some article/post from the web.
mattwashere has joined #ruby
yqt has quit [Ping timeout: 250 seconds]
n8o has joined #ruby
<n8o> Has anyone had problems with rake on Travis CI?
tubuliferous has quit [Ping timeout: 244 seconds]
`tim` has joined #ruby
<havenwood> l4v2: Just an aside, but it's Minitest now (the MiniTest lost the capital T in Minitest 5): https://github.com/seattlerb/minitest/blob/master/History.rdoc#500--2013-05-10
SilverKey has joined #ruby
jackjackdripper has joined #ruby
<l4v2> Oh well then someone needs to tell Ruby docs that lol http://ruby-doc.org/stdlib-2.0.0/libdoc/minitest/rdoc/MiniTest.html#top
<adaedra> 2.0.0, it's outdated
neo_ has joined #ruby
neo_ has quit [Remote host closed the connection]
roamingdog has joined #ruby
neo_ has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
Wildfyr has quit [Quit: Night]
aegis3121 has quit [Ping timeout: 246 seconds]
mtkd has quit [Ping timeout: 260 seconds]
gagrio has joined #ruby
thatsnotjack has joined #ruby
mtkd has joined #ruby
lenwood_ has quit [Ping timeout: 264 seconds]
troulouliou_div2 has joined #ruby
<funrep> what kind of "function/method" is this? https://www.libgosu.org/rdoc/Gosu.html#button_down%3F-class_method it doesnt wrap its arguments in paranthesses when called in this context: "if Gosu::button_down? Gosu::KbLeft or Gosu::button_down? Gosu::GpLeft then"
Ariadeno has quit [Ping timeout: 244 seconds]
<shevy> was there a way from within a ruby script to move the cursor to the very left side? e. g if someone would do print "hi", to erase the hi and "jump" as to the cursor position before hi was printed
arooni has joined #ruby
<havenwood> l4v2: Ruby 2.0 is past end-of-life and Ruby 2.1 is not receiving bug fixes since it's in maintenance mode. If you can switch to Ruby 2.2.5 or Ruby 2.3.1 it'd be best!
diegoviola has joined #ruby
SilverKey has quit [Read error: Connection reset by peer]
stoopidmunkey has quit []
SilverKey has joined #ruby
<l4v2> That was where my Google search brought me, I didn’t even catch that. Yeah I am using 2.3.1
jas02 has joined #ruby
mattwashere has quit [Remote host closed the connection]
<havenwood> l4v2: That way the docs will be maintained among other good reasons.
<havenwood> l4v2: Ah, perfect.
mattwashere has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
SilverKey has quit [Client Quit]
synthroid has joined #ruby
No has quit [Ping timeout: 246 seconds]
neo_ has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lawell has joined #ruby
neo_ has joined #ruby
synthroi_ has quit [Ping timeout: 258 seconds]
aegis3121 has joined #ruby
tubuliferous has joined #ruby
User458764 has joined #ruby
B1n4r10 has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
<wrkrcoop> im writing a integration spec and when i write get "person/v1/lookup/" :ids => “1,2,3” the ids dont get passed in
<wrkrcoop> i took this syntax from the post example https://www.relishapp.com/rspec/rspec-rails/docs/request-specs/request-spec
<wrkrcoop> anyone know how to pass in params for get request?
<baweaver> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
neo_ has quit [Ping timeout: 244 seconds]
tvw has quit [Read error: Connection reset by peer]
<baweaver> also, it's probably get "url/#{id}"
banister has quit [Remote host closed the connection]
<wrkrcoop> baweaver: not using rails
roamingdog has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
<baweaver> saw rspec-rails in the URL
<l4v2> havenwood the require ‘test_helper’ file may be where those assertions are in the ActionDispatch::IntegrationTest class. But here’s my question, I don’t have this gem in my Gemfile, so can I require gems just for certain files? Is that what is going on there?
Madplatypus has joined #ruby
Ariadeno has joined #ruby
<wrkrcoop> baweaver: adding the params to the url didnt work either … any other ideas?
banister has joined #ruby
<baweaver> and you're printing the params out? Is it Sinatra or what?
<wrkrcoop> baweaver: some internal framework, yes param says ‘test'
lenwood has joined #ruby
<baweaver> try removing the trailing slash
ramfjord has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
<wrkrcoop> k
<baweaver> Is the framework based on anything like Rack?
<wrkrcoop> yes its using rack
edwardly has quit [Max SendQ exceeded]
<havenwood> l4v2: If you're prefixing `bundle exec` to your command or rubygems_bundler is doing it for you then you're limited to exactly the gems and versions thereof in your Gemfile.lock file
edwinvdgraaf has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
<baweaver> that covers some rack testing
<havenwood> same if RUBYGEMS_GEMDEPS=~ or the like is set
<l4v2> Oh cool, thnaks
dstarh has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
lawell has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<l4v2> Seems like it would be better placed in the Gemfile though
arnonhongklay has joined #ruby
centrx has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
the_drow has joined #ruby
Rodya_ has quit [Remote host closed the connection]
TheHodge has quit [Quit: Connection closed for inactivity]
Rodya_ has joined #ruby
memorasus has joined #ruby
mdw has joined #ruby
gagrio has quit [Quit: Leaving...]
agentmeerkat has quit [Ping timeout: 252 seconds]
<havenwood> l4v2: yeah, put it in the Gemfile then update the Gemfile.lock with: bundle
dc4 has joined #ruby
<havenwood> or for non-Rails projects, with just RubyGems: gem install -g
skweek has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
Rodya_ has quit [Remote host closed the connection]
l4v2 has quit [Quit: l4v2]
karapetyan has quit [Remote host closed the connection]
Rodya_ has joined #ruby
karapetyan has joined #ruby
aibot has quit [Ping timeout: 260 seconds]
macsteps has joined #ruby
sauvin has quit [Remote host closed the connection]
dc4 has quit [Ping timeout: 260 seconds]
karapetyan has quit [Remote host closed the connection]
hutch34_ has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
slappy16 has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
agentmeerkat has joined #ruby
DEac- has quit [Ping timeout: 244 seconds]
PsionTheory has joined #ruby
No has joined #ruby
jgt3 has quit [Ping timeout: 244 seconds]
acidchild has left #ruby [#ruby]
arnonhongklay has quit [Remote host closed the connection]
Snowy has joined #ruby
karapetyan has joined #ruby
gregf has quit [Ping timeout: 272 seconds]
codecop has joined #ruby
dminuoso has quit [Quit: leaving]
karapetyan has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
karapetyan has joined #ruby
jas02 has left #ruby [#ruby]
xlegoman has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
replay has joined #ruby
karapetyan has joined #ruby
anagha_ has quit [Quit: Connection closed for inactivity]
DEac- has joined #ruby
PsionTheory has quit [Read error: Connection reset by peer]
uberbrodt has joined #ruby
arnonhongklay has joined #ruby
karapetyan has quit [Remote host closed the connection]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chip_ has joined #ruby
karapetyan has joined #ruby
CJKinni has joined #ruby
macsteps has quit [Remote host closed the connection]
ramfjord has joined #ruby
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
wuyin has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iceden has joined #ruby
ekinmur has joined #ruby
wuyin has joined #ruby
lenwood has quit [Ping timeout: 264 seconds]
dasher00 has quit [Remote host closed the connection]
Vingador has joined #ruby
troulouliou_div2 has quit [Read error: Connection reset by peer]
pontiki has joined #ruby
lenwood has joined #ruby
nankyokusei has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
aryaching has joined #ruby
karapetyan has quit [Remote host closed the connection]
whathapp_ has joined #ruby
centrx has quit [Remote host closed the connection]
sneakers has joined #ruby
ych has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
whathappens has quit [Ping timeout: 260 seconds]
febuiles has joined #ruby
Gasher has joined #ruby
ekinmur has joined #ruby
SCHAAP137 has quit [Read error: Connection reset by peer]
jmignault has joined #ruby
dsea11 has joined #ruby
Sucks has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
Sucks has quit [Max SendQ exceeded]
dsea11 has quit [Read error: Connection reset by peer]
Devalo has quit [Ping timeout: 252 seconds]
Sucks has joined #ruby
miqlas-H has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
aryaching has joined #ruby
SCHAAP137 has joined #ruby
dsea has quit [Ping timeout: 240 seconds]
cpg has joined #ruby
Devalo has joined #ruby
ramfjord has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ych has quit [Quit: Textual IRC Client: www.textualapp.com]
cpg has left #ruby [#ruby]
aryaching has quit [Ping timeout: 250 seconds]
elaptics is now known as elaptics`away
symm- has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
aldodelgado has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
johnmilton has quit [Remote host closed the connection]
<aldodelgado> Is it possible to create a model scope that returns a set of results and then from those results have a condition to only return the strings from a column?
<aldodelgado> Thats the query I can do in the console. However I’d like to make it a scope
<toretore> ?rails aldodelgado
<ruby[bot]> aldodelgado: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<aldodelgado> oh sorry :-/
patrick_star_2 has joined #ruby
lenwood has quit [Ping timeout: 264 seconds]
SilverKey has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
tmi has joined #ruby
blaxter has quit [Quit: foo]
SilverKey has quit [Read error: Connection reset by peer]
neo_ has joined #ruby
ta_ has joined #ruby
centrx has quit [Remote host closed the connection]
joonty1 has joined #ruby
patrick_star_3 has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
Xeago_ has joined #ruby
Rodya_ has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
chip_ has quit [Ping timeout: 244 seconds]
whathapp_ has quit [Remote host closed the connection]
Vingador has quit [Ping timeout: 244 seconds]
Eiam has joined #ruby
neo_ has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
neo_ has joined #ruby
LoneHermit has joined #ruby
Xeago_ has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Ping timeout: 244 seconds]
nettoweb has quit [Excess Flood]
Rodya_ has quit [Ping timeout: 250 seconds]
Sucks has quit [Ping timeout: 260 seconds]
nadir has joined #ruby
ruby-lang679 has joined #ruby
Xeago_ has joined #ruby
Vingador has joined #ruby
davedev24 has quit [Ping timeout: 252 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
No has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
RegulationD has joined #ruby
nb_bez___ has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
centrx has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
yardenbar has joined #ruby
lenwood has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
leea has joined #ruby
centrx has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 252 seconds]
centrx has joined #ruby
mdw has joined #ruby
vuoto has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
SCHAAP137 has quit [Ping timeout: 246 seconds]
zeroDi has joined #ruby
aibot has joined #ruby
B1n4r10 has quit [Ping timeout: 272 seconds]
mfb2 has quit [Remote host closed the connection]
<Gasher> hello
Sucks has joined #ruby
<Gasher> I'm trying to do some file reading and writing, but I don't see proper things about reading the file in the docs
<Gasher> for example, I know there is the method .gets to a file ('file1.gets') that reads something, but it's not in the File class in the docs
workmad3 has joined #ruby
Devalo has quit [Remote host closed the connection]
<Gasher> and the .gets method only gives me the first line of the file
shinnya has quit [Ping timeout: 258 seconds]
ChiefAlexander has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
<toretore> Gasher: find out which class File inherits from and look there
<Gasher> IO
<havenwood> Gasher: You can use `File.read` but you'll find the docs in IO: http://ruby-doc.org/core/IO.html#method-c-read
karapetyan has joined #ruby
<havenwood> >> File.superclass
<ruby[bot]> havenwood: # => IO (https://eval.in/597187)
<havenwood> >> File.public_method(:read).owner
<ruby[bot]> havenwood: # => #<Class:IO> (https://eval.in/597188)
<Gasher> thanks a lot havenwood
<Gasher> it looks a bit strange to me
karapetyan has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
karapetyan has joined #ruby
nankyokusei has joined #ruby
wrkrcoop has joined #ruby
CJKinni has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Vingador has quit [Remote host closed the connection]
tubuliferous has joined #ruby
SCHAAP137 has joined #ruby
solars has quit [Ping timeout: 272 seconds]
karapetyan has joined #ruby
memorasus has quit [Excess Flood]
workmad3 has quit [Ping timeout: 240 seconds]
memorasus has joined #ruby
neha- has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
synthroid has quit []
RegulationD has joined #ruby
jas02 has joined #ruby
jas02 has left #ruby [#ruby]
<Gasher> so File.read and IO.read are the same? what's the point of File then?
<Gasher> (in that form at least)
jaruga____ has quit [Quit: jaruga____]
mdw has quit [Quit: Sleeping Zzzzz]
<shevy> Gasher I think this may be subclassing, inheriting .read from IO
<Gasher> but, if IO handles files
<Gasher> then what's File for? the object itself?
kavanagh has joined #ruby
<shevy> well File has for instance chmod stuff, which IO does not have http://ruby-doc.org/core-2.2.0/File.html
<Gasher> yeah, true
<Gasher> but it's confusing in the docs
tubuliferous has quit [Ping timeout: 244 seconds]
Fernando-Basso has quit [Quit: Leaving]
<shevy> the ruby docs are not very good indeed
<shevy> I compared the ruby readline docs, and the longer explanation here http://bogojoker.com/readline/
renderful has quit []
<shevy> they are sorta the same, more or less but the second is much better to read IMO
centrx_ has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
karapetyan has quit [Remote host closed the connection]
solars has joined #ruby
nankyokusei has quit [Remote host closed the connection]
centrx has quit [Ping timeout: 240 seconds]
blackgoat has joined #ruby
dvinciguerra_ has quit [Read error: Connection reset by peer]
replay has quit [Ping timeout: 276 seconds]
mistergibson has joined #ruby
jas02 has joined #ruby
whathappens has joined #ruby
jas02 has quit [Remote host closed the connection]
craigp_ has quit [Ping timeout: 244 seconds]
solars has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ramfjord has joined #ruby
solars has joined #ruby
centrx_ has quit [Remote host closed the connection]
SCHAAP137 has quit [Ping timeout: 276 seconds]
skweek has quit [Ping timeout: 272 seconds]
joonty1 has quit [Quit: This computer has gone to sleep]
jackjackdripper1 has quit [Quit: Leaving.]
cats is now known as CATS
<drbrain> Socket inherits from IO too
<drbrain> the difference comes from libc
chip_ has joined #ruby
centrx has joined #ruby
aibot has quit [Ping timeout: 240 seconds]
craigp_ has joined #ruby
lxsameer has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
tubuliferous has joined #ruby
roamingdog has joined #ruby
<shevy> ah
dc4 has joined #ruby
korzybski has joined #ruby
neha- has joined #ruby
<drbrain> … IO wraps things like write(2) and read(2), File wraps file-specific functionality as mentioned (chmod)
karapetyan has joined #ruby
Rodya_ has joined #ruby
l4v2 has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
dc4 has quit [Ping timeout: 252 seconds]
LoneHermit has joined #ruby
jetpackj1 has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
B1n4r10 has joined #ruby
aibot has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
chip_ has quit [Ping timeout: 258 seconds]
jetpackjoe has quit [Ping timeout: 252 seconds]
jhack has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
macsteps has joined #ruby
ruby-lang679 has quit [Ping timeout: 250 seconds]
samara has quit [Ping timeout: 260 seconds]
naftilos76 has quit [Quit: Αποχώρησε]
solars has quit [Ping timeout: 276 seconds]
neo_ has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solars has joined #ruby
yqt has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
evansbee has joined #ruby
solars has quit [Client Quit]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
ekinmur has joined #ruby
mfb2 has joined #ruby
Qommand0r has quit [Quit: Exiting...]
Snowy has quit [Quit: ragequit]
prefix has quit [Read error: Connection reset by peer]
evansbee has quit [Ping timeout: 276 seconds]
prefix has joined #ruby
No has joined #ruby
hutch34 has joined #ruby
mfb2 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 244 seconds]
hutch34_ has quit [Ping timeout: 244 seconds]
nettoweb has joined #ruby
swills has quit [Ping timeout: 272 seconds]
mfb2 has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
smathy has joined #ruby
smathy has quit [Client Quit]
blaxter has joined #ruby
nettoweb has quit [Client Quit]
yardenbar has quit [Quit: Leaving]
tubuliferous has quit [Ping timeout: 276 seconds]
tubuliferous has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
thatsnotjack has quit [Ping timeout: 244 seconds]
ChiefAlexander has quit [Quit: Leaving...]
<shevy> Gasher see - there is always one mommy object up there in the inheritance chain
mgorbach has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
marr has joined #ruby
blaxter has quit [Quit: foo]
hxegon_afk is now known as hxegon
Qommand0r has joined #ruby
tvon has quit [Quit: System is sleeping...]
mgorbach has joined #ruby
smathy has joined #ruby
al2o3-cr has joined #ruby
AlexRussia has joined #ruby
sergio_101 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Gasher> shevy; I know, but it doesn't make sense this time
<Gasher> to look up at it
Coldblackice has quit [Ping timeout: 250 seconds]
korzybski has quit [Quit: korzybski]
edwinvdg_ has joined #ruby
B1n4r10 has quit [Ping timeout: 264 seconds]
<isberg> Is there an alternative to Open3.capture3 that doesn't freeze in large output?
<isberg> Need to run system commands
<isberg> with access to the status code
macsteps has quit [Remote host closed the connection]
<drbrain> isberg: Process.spawn and system let you do arbitrary IO redirection for the child process
<alexandernst> How would I convert "while not a and not b" to use "unless"? "unless a and not b"? "unless a and b"?
<pontiki> isberg: i think the answer for that was to thread the outputs
<pontiki> but it's been ages since i looked into that...
<drbrain> if you don't need to capture output, `system "whatever", "command", "here", out: IO::NULL, err: IO::NULL; p $?`
<ljarvis> alexandernst: do you mean until?
edwinvdgraaf has quit [Ping timeout: 258 seconds]
<drbrain> pontiki: yeah, Thread or select on the output and error IOs
<alexandernst> ljarvis: ahh, yes, until
<ljarvis> alexandernst: until b || b
<isberg> drbrain Kernel#system only takes a string. It's nice to pass arguments separately to avoid escaping
<ljarvis> alexandernst: er, a || b
<drbrain> isberg: no, it takes all the same arguments as #spawn
<alexandernst> yup, ok :)
<ljarvis> alexandernst: the while is check "not a and not b", so the opposite is "yes a or yes b", aka "a or b"
<alexandernst> yeah... seems silly, but this "new" keyword in ruby are crushing my brain
<isberg> Aha, it does take an array if arguments
<drbrain> isberg: do you care about the output?
<ljarvis> alexandernst: personally I would avoid until/unless for complex conditions
<isberg> drbrain Yes
<ljarvis> alexandernst: complex being one that has more than one condition
<alexandernst> I feel completely stupid googling "how to do until in ruby" having 15 years or C/C++ experience on my back...
<ljarvis> alexandernst: that's a sign you should just avoid it imo
<drbrain> isberg: to keep it from freezing you'll need to read the data in like pontiki said
<al2o3-cr> 1.9.3?
<drbrain> either with a Thread or by using IO#select
<alexandernst> ljarvis: I'd avoid using until at all, but the linter I'm forced to use at work complains about "while not" ...
<ljarvis> alexandernst: if you're having difficulty writing it, it'll be difficult to read/maintain
<drbrain> al2o3-cr: to show that old versions support it too
<ljarvis> alexandernst: fix the silly linter
<al2o3-cr> drbrain: got it :)
<alexandernst> ljarvis: not allowed to :P
ldnunes has quit [Quit: Leaving]
Coldblackice has joined #ruby
<ljarvis> alexandernst: you can't add a rule to avoid it blowing up on that? it's ridiculous that it's making your code worse. That's against the whole point of a linter
<alexandernst> yeah...
<drbrain> isberg: without reading the data out of the pipe eventually its buffer fills up and the child process will stall on write
<wrkrcoop> i have two arrays a = [1,2,3,4,5] and b = [5,6,7,8,9] is there a method that allows me to detect duplicates?
vuoto has quit [Ping timeout: 244 seconds]
<aegis3121> are you wanting to know if there are duplicates, or know what they are?
<ljarvis> wrkrcoop: (a & b).any?
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wrkrcoop> ljarvis: thank you
Es0teric has quit [Quit: Computer has gone to sleep.]
<drbrain> wrkrcoop: >> a = [1,2,3,4,5]; b = [5,6,7,8,9]; a & b
<drbrain> ugh
<drbrain> >> a = [1,2,3,4,5]; b = [5,6,7,8,9]; a & b
vuoto has joined #ruby
<ruby[bot]> drbrain: # => [5] (https://eval.in/597198)
<drbrain> ↑
<wrkrcoop> thanks
<ljarvis> derp
<isberg> drbrain Okay, so system or spawn then
<wrkrcoop> hmm but thats a boolean
<isberg> Unless I missed something
<wrkrcoop> i want to know which one
<aegis3121> Then you want what drbrain did
<wrkrcoop> oh
<ljarvis> wrkrcoop: then do what drbrain did and remove the .any?
<drbrain> isberg: Open3 (and system) are spawn wrappers in newer ruby
<wrkrcoop> awesome
<baweaver> Set intersection basically
<wrkrcoop> thanks
<wrkrcoop> is that big o slow?
tubuliferous has quit [Ping timeout: 240 seconds]
<drbrain> wrkrcoop: O(N+M) IIRC
<wrkrcoop> ><
<wrkrcoop> thats terrible right?
pawnbox_ has quit [Remote host closed the connection]
<aegis3121> sounds...mostly linear
<ljarvis> you need to traverse both arrays, no avoiding that
skade has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has quit [Remote host closed the connection]
ChrisWilding has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rodfersou has quit [Quit: leaving]
banister has joined #ruby
Rodya_ has joined #ruby
CATS is now known as cats
karapetyan has quit [Remote host closed the connection]
<wrkrcoop> i have 2 arrays a = [1,2,3,4] and b = [4] is there a method that will return [1,2,3]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wrkrcoop> a - b doesn’t work
<centrx> >> [1,2,3,4] - [4]
<ruby[bot]> centrx: # => [1, 2, 3] (https://eval.in/597199)
<wrkrcoop> wtf
<wrkrcoop> ok
c0mrad3 has quit [Quit: Connection closed for inactivity]
LoneHermit has joined #ruby
<baweaver> wrkrcoop: You might want to read up on the Array documentation some more: http://ruby-doc.org/core-2.3.1/Array.html
<wrkrcoop> baweaver: ok thanks -_-
allcentury has joined #ruby
whathapp_ has joined #ruby
tolland_ has quit [Quit: WeeChat 0.4.3]
whathappens has quit [Ping timeout: 246 seconds]
LoneHermit has quit [Ping timeout: 244 seconds]
tvon has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
xaxisx has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
centrx has quit []
whathapp_ has quit [Ping timeout: 252 seconds]
aldodelgado has quit [Quit: aldodelgado]
pawnbox has joined #ruby
jmignault has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby
B1n4r10 has joined #ruby
korzybski has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
korzybski has quit [Client Quit]
codecop has quit [Remote host closed the connection]
datanoise has joined #ruby
mgorbach has quit [Quit: ZNC - http://znc.in]
whathappens has joined #ruby
datanoise has quit [Client Quit]
mgorbach has joined #ruby
firstdayonthejob has joined #ruby
solars has joined #ruby
ChrisWilding has quit [Quit: leaving]
psyq has joined #ruby
kareeoleez has quit [Remote host closed the connection]
psyq has left #ruby [#ruby]
solars has quit [Ping timeout: 250 seconds]
edwinvdg_ has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
ruby-lang099 has joined #ruby
ruby-lang099 has quit [Client Quit]
DarthGandalf has quit [Ping timeout: 276 seconds]
DarthGandalf has joined #ruby
macsteps has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
nogic has quit [Ping timeout: 246 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.5]
vuoto has quit [Remote host closed the connection]
johnmilton has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
firstdayonthejob has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
the_drow has joined #ruby
the_drow has quit [Client Quit]
rbennacer has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
ta__ has joined #ruby
Danny_ has joined #ruby
dc4 has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xlegoman has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
swistak35 has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
xlegoman has quit [Client Quit]
CSGSJay has quit [Quit: Page closed]
aegis3121 has quit [Ping timeout: 260 seconds]
kirun has quit [Quit: Client exiting]
agent_white has quit [Quit: headinhome]
sepp2k has quit [Quit: Leaving.]
roamingdog has quit [Read error: Connection reset by peer]
biberu has quit []
macsteps has quit [Remote host closed the connection]
polishdub has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
binaryplease has quit [Quit: Goodbye cruel world]
lenwood has quit [Ping timeout: 264 seconds]
korzybski has joined #ruby
framling has quit [Remote host closed the connection]
binaryplease has joined #ruby
jgt3 has joined #ruby
tubuliferous has joined #ruby
jhack has quit [Quit: jhack]
zenlot has joined #ruby
zenlot6 has quit [Ping timeout: 264 seconds]
Azure has quit [Quit: Oops.]
Azure has joined #ruby
Azure has quit [Remote host closed the connection]
Azure has joined #ruby
mfb2 has quit [Remote host closed the connection]
jottr has joined #ruby
bonhoeffer has joined #ruby
<shevy> msg = +"install -c"
dc4 has quit [Ping timeout: 240 seconds]
<shevy> hmm does someone know what the + there is doing?
mattwashere has quit [Remote host closed the connection]
<drbrain> probably a typo
<bonhoeffer> is there an equivalent to * notation in python -- the ability to turn a list into arguments
<drbrain> bonhoeffer: in ruby we use *
evansbee has joined #ruby
<bonhoeffer> or ** notation, the ability to turn a dictionary into arguments
<drbrain> in ruby we use ** for that
<bonhoeffer> cool -- so exactly the same?
<drbrain> I think so (I don't use Python)
<drbrain> a = [1, 2, 3]; p(*a)
Azure has quit [Quit: Oops.]
<drbrain> (vs p(a))
<shevy> oh
<lupine> today I actually wrote some ruby I'm proud of. and I can't show it off!
<lupine> roll on 1 july
<lupine> no, 1 aug
<shevy> interesting, thanks for the link drbrain
<drbrain> lupine:
No has quit [Ping timeout: 264 seconds]
eljimmy has joined #ruby
<drbrain> bonhoeffer: in ruby * for array -> arguments is called "splat"
pontiki has joined #ruby
<havenwood> >> -+-'shevy' << 'too cold'
<ruby[bot]> havenwood: # => can't modify frozen String (RuntimeError) ...check link for more (https://eval.in/597255)
<bonhoeffer> awesome
Es0teric has joined #ruby
evansbee has quit [Ping timeout: 276 seconds]
<shevy> lol
agentmeerkat has quit [Ping timeout: 258 seconds]
<shevy> the first one is used in -+- ?
hahuang61 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
xall has joined #ruby
<drbrain> first one?
nettoweb has joined #ruby
<shevy> well one can add lots of them -------------+-'foo'
cschneid_ has quit [Remote host closed the connection]
<al2o3-cr> >> [(-"foo").frozen?, (+"foo").frozen?]
<ruby[bot]> al2o3-cr: # => [true, false] (https://eval.in/597256)
bonhoeffer has quit [Quit: Page closed]
dasher00 has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
hahuang61 has quit [Ping timeout: 258 seconds]
<drbrain> all of them get called
<drbrain> from right to left
<drbrain> >> +-"foo" << "bar"
<ruby[bot]> drbrain: # => "foobar" (https://eval.in/597257)
<drbrain> >> -+"foo" << "bar"
<ruby[bot]> drbrain: # => can't modify frozen String (RuntimeError) ...check link for more (https://eval.in/597258)
solocshaw has joined #ruby
<drbrain> for +-"foo" first the string is dup'd and frozen, then the frozen string is dup'd, then "bar" is appended
<drbrain> for -+"foo" first the string is returned (because it isn't frozen), then the string is dup'd and frozen, then you get the RuntimeError because you can't append to a frozen "foo"
wrkrcoop has joined #ruby
<drbrain> chaining them is just for looks
xall has quit [Ping timeout: 258 seconds]
Gasher has quit [Ping timeout: 276 seconds]
mfb2 has joined #ruby
<al2o3-cr> >> class String; define_method(:-@) { "bar" } end; -"foo" << "bar" << ?a
<ruby[bot]> al2o3-cr: # => "barbara" (https://eval.in/597259)
Jardayn has joined #ruby
ICantCook has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 250 seconds]
fclausen has joined #ruby
marr has quit [Ping timeout: 258 seconds]
spiette has quit [Ping timeout: 240 seconds]
prestorium has quit [Excess Flood]
shadeslayer has quit [Read error: Connection reset by peer]
prestorium has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
shadeslayer has joined #ruby
Mia has quit [Read error: Connection reset by peer]
shadeslayer has quit [Changing host]
shadeslayer has joined #ruby
solocshaw1 has joined #ruby
binaryplease has quit [Ping timeout: 258 seconds]
firstdayonthejob has quit [Ping timeout: 272 seconds]
korzybski has quit [Quit: korzybski]
rbennacer has quit [Remote host closed the connection]
pontiki has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
pontiki has joined #ruby
crowell has quit [Ping timeout: 260 seconds]
crowell has joined #ruby
thatsnotjack has joined #ruby
Azure has joined #ruby
A124 has quit [Quit: '']
<shevy> hmmm
korzybski has joined #ruby
the_drow has joined #ruby
Cohedrin has joined #ruby
binaryplease has joined #ruby
gregf has joined #ruby
sanjayu has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
zapata has quit [Quit: WeeChat 1.5]
memorasus has quit [Ping timeout: 244 seconds]
A124 has joined #ruby
solocshaw1 has quit [Ping timeout: 250 seconds]
tvon has quit [Quit: System is sleeping...]
unvexp has joined #ruby
j416_ has joined #ruby
zapata has joined #ruby
leea has joined #ruby
j416 has quit [Ping timeout: 244 seconds]
j416_ is now known as j416
mfb2 has quit [Remote host closed the connection]
mfb2 has joined #ruby
swills has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
koooge has joined #ruby
djbkd has quit [Remote host closed the connection]
sauvin has joined #ruby
mattwashere has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
tvon has joined #ruby
jmignault has joined #ruby
ullu_ has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
symm- has quit [Quit: Leaving...]
arnonhongklay has joined #ruby
arthurl has quit [Ping timeout: 240 seconds]
MrBusiness has quit [Ping timeout: 272 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
millerti has joined #ruby
dc4 has joined #ruby
jmignault has quit [Ping timeout: 240 seconds]
korzybski has quit [Quit: korzybski]
j416 has quit [Ping timeout: 244 seconds]
j416 has joined #ruby
prefix has quit [Quit: Goodnight]
j416 has quit [Excess Flood]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
jgt3 has quit [Ping timeout: 264 seconds]
j416 has joined #ruby
nankyokusei has joined #ruby
Rodya_ has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pragmatism has quit [Quit: Connection.close!]
pragmatism has joined #ruby
xall has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
rkazak has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
electrostat has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blandflakes has joined #ruby
electrostat has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
blackmesa has joined #ruby
unvexp has quit [Quit: Leaving]
gusrub has joined #ruby
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Ping timeout: 272 seconds]
mistermo_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
dc4 has quit [Ping timeout: 244 seconds]
croberts has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Danny_ has quit [Remote host closed the connection]
djbkd has joined #ruby