kareeole_ has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
rrichard_ has quit [Client Quit]
Tohuw has joined #ruby
SCHAAP137 has quit [Ping timeout: 265 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
Devalo has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
riobe_ has joined #ruby
pietr0 has quit [Quit: pietr0]
davedev2_ has quit [Ping timeout: 276 seconds]
johnmilton has joined #ruby
idefine has quit [Remote host closed the connection]
Azure has joined #ruby
hxegon is now known as hxegon_afk
riobe has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
riobe_ has quit [Ping timeout: 244 seconds]
yqt has quit [Ping timeout: 244 seconds]
idefine has quit [Remote host closed the connection]
idefine_ has joined #ruby
idefine_ has quit [Remote host closed the connection]
stardiviner has joined #ruby
davedev24 has joined #ruby
rbennacer has quit [Remote host closed the connection]
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
phredus has quit [Remote host closed the connection]
scooter_ has quit [Ping timeout: 250 seconds]
ItSANgo has quit [Quit: Leaving...]
SilverKey has joined #ruby
stardiviner has quit [Ping timeout: 276 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frem_ has quit [Quit: Connection closed for inactivity]
idefine has joined #ruby
mistermocha has joined #ruby
idefine has quit [Read error: Connection reset by peer]
SilverKey has quit [Client Quit]
mistermocha has quit [Remote host closed the connection]
agent_white has quit [Quit: weekend]
ravishankarjha has quit [Ping timeout: 240 seconds]
xall has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
marr has quit [Remote host closed the connection]
djbkd has quit [Quit: My people need me...]
adamhess has joined #ruby
adamhess has left #ruby [#ruby]
sp4rrow has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ledestin has joined #ruby
_blizzy_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
sdothum has joined #ruby
jenrzzz has joined #ruby
_blizzy_ has left #ruby [#ruby]
rrichardsr3 has joined #ruby
saneax is now known as saneax_AFK
SCHAAP137 has quit [Quit: Exiting...]
moeabdol has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
aldodelgado has quit [Quit: aldodelgado]
Vile` has quit [Ping timeout: 252 seconds]
moeabdol has quit [Ping timeout: 276 seconds]
dvinciguerra has quit [Read error: Connection reset by peer]
Vile` has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
austinprog has joined #ruby
xall has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
amclain has quit [Quit: Leaving]
millerti has joined #ruby
jgt1 has quit [Ping timeout: 260 seconds]
millerti has quit [Client Quit]
[Butch] has quit [Quit: I'm out . . .]
kies has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joneshf-laptop has quit [Ping timeout: 244 seconds]
ItSANgo has joined #ruby
ur5us has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Vile` has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
dikaio has joined #ruby
joneshf-laptop has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
davedev24 has quit [Remote host closed the connection]
gizless has joined #ruby
startupality has joined #ruby
jancel has joined #ruby
Vile` has joined #ruby
gizmore has quit [Ping timeout: 252 seconds]
leitz has quit [Quit: Nappy time]
papachan has joined #ruby
_blizzy_ has joined #ruby
casp has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 265 seconds]
quakephil has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
dikaio has joined #ruby
|ifei5g00d has joined #ruby
jancel has quit [Remote host closed the connection]
tatsuo has quit [Remote host closed the connection]
|ifei5good has quit [Ping timeout: 246 seconds]
davedev24 has joined #ruby
solocshaw has joined #ruby
Madplatypus has joined #ruby
roamingdog has joined #ruby
flashpoint9 has joined #ruby
_blizzy_ has left #ruby ["Leaving"]
quakephil has joined #ruby
rrichardsr3 has quit [Quit: Apparantly my attempt to stay awake has failed...]
flashpoint9 has quit [Ping timeout: 252 seconds]
Dimik has joined #ruby
mostlybadfly has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dikaio has joined #ruby
<zacts>
yo
dikaio has quit [Max SendQ exceeded]
blaxter has quit [Read error: Connection reset by peer]
tildes has quit [Ping timeout: 265 seconds]
gnufied has quit [Quit: Leaving]
gizless has quit [Ping timeout: 240 seconds]
giz|work|2 has quit [Ping timeout: 240 seconds]
jancel has joined #ruby
startupality has quit [Quit: startupality]
gizless has joined #ruby
agent_white has joined #ruby
oetjenj has quit [Ping timeout: 246 seconds]
moeabdol has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
mooe has joined #ruby
saneax_AFK is now known as saneax
oetjenj has joined #ruby
peterhu has joined #ruby
JoshGlzBrk has joined #ruby
smathy is now known as smathy_afk
peterhu_ has quit [Quit: leaving]
moeabdol has quit [Ping timeout: 246 seconds]
peterhu has quit [Client Quit]
CloCkWeRX has joined #ruby
<diegoviola>
I have 500 MB of zip files that contain XML data, I need to fetch all that and unzip/parse the xml and load the data into redis, I need to script this, but I was wondering if Ruby's net::http will do fine or I'll have to use rsync?
jimism has left #ruby ["Leaving"]
GriffinHeart has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
<diegoviola>
I'm undecided because I don't want to have to re-run my script if a download fails
<zacts>
I would assume there would be a gem solution that is better than rsync, but I'm still a newbie
vdamewood has joined #ruby
<zacts>
so I'll let others answer
<zacts>
but I would avoid system() calls at least
<diegoviola>
just looking for some ideas about how I can implement this
<zacts>
I think there is a module for Redis
<zacts>
let me find it
<zacts>
s/module/gem/
<zacts>
sorry
dopamean_ has joined #ruby
<diegoviola>
yeah I know that part
<zacts>
resque
<diegoviola>
my trouble is how to handle the download bulk of data
jenrzzz has joined #ruby
<diegoviola>
but I'm afraid we're getting offtopic with this
<bazzy>
i don't see how that gem has anything to do with this problem
startupality has joined #ruby
<bazzy>
the general purpose redis gem is just called 'redis' IIRC
<diegoviola>
I'll just do the parser and load of data in ruby and handle the download as a separate script with bash+rsync or something :)
<zacts>
bazzy: sorry, my newbieness
<bazzy>
oh, np
* zacts
idles
<zacts>
:-)
<bazzy>
sounds like a plan diegoviola
rrichardsr3 has joined #ruby
<diegoviola>
thanks
rrichardsr3 has quit [Max SendQ exceeded]
rrichardsr3 has joined #ruby
ur5us has quit [Remote host closed the connection]
nanoz has joined #ruby
sneakerhax has joined #ruby
startupality has quit [Ping timeout: 276 seconds]
rrichardsr3 has quit [Client Quit]
Es0teric has joined #ruby
pawnbox has joined #ruby
justbleed has joined #ruby
papachan has quit [Ping timeout: 240 seconds]
mjs2600 has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Ping timeout: 246 seconds]
quakephil has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
jolamb has quit [Ping timeout: 240 seconds]
croberts has quit [Ping timeout: 252 seconds]
theRoUS has quit [Ping timeout: 250 seconds]
theRoUS has joined #ruby
jancel has quit [Remote host closed the connection]
aphprentice has quit [Quit: Connection closed for inactivity]
bruce_lee has quit [Read error: Connection reset by peer]
croberts has joined #ruby
mistermocha has joined #ruby
jolamb has joined #ruby
govg has joined #ruby
idefine has joined #ruby
quakephil has joined #ruby
mistermocha has quit [Ping timeout: 246 seconds]
wilbert has joined #ruby
idefine has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
idefine has joined #ruby
dionysus69 has joined #ruby
croberts_ has joined #ruby
theRoUS` has joined #ruby
replay has quit []
wilbert has quit [Ping timeout: 246 seconds]
jolamb has quit [Ping timeout: 246 seconds]
croberts has quit [Ping timeout: 252 seconds]
theRoUS has quit [Ping timeout: 265 seconds]
jancel has joined #ruby
jdm has joined #ruby
jolamb has joined #ruby
pat_ has joined #ruby
Es0teric has joined #ruby
jdm has quit [Client Quit]
jdmark has joined #ruby
roamingdog has joined #ruby
jancel has quit [Ping timeout: 250 seconds]
roamingdog has quit [Remote host closed the connection]
saneax is now known as saneax_AFK
idefine has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 265 seconds]
idefine has joined #ruby
jwren has quit [Quit: leaving]
jancel has joined #ruby
idefine has quit [Remote host closed the connection]
Coldblackice has quit [Ping timeout: 265 seconds]
|2701 has quit [Quit: Connection closed for inactivity]
pat_ has left #ruby ["Leaving"]
pat_ has joined #ruby
johnmilton has quit [Ping timeout: 246 seconds]
quazimodo has joined #ruby
<quazimodo>
is it possible to subprocess out another binary, in my case phantomjs, then fork that?
roamingdog has joined #ruby
startupality has joined #ruby
roamingdog has quit [Remote host closed the connection]
idefine has joined #ruby
j_mcnally has joined #ruby
startupality has quit [Ping timeout: 260 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
jancel has quit [Remote host closed the connection]
kareeoleez has joined #ruby
<eam>
quazimodo: could you explain the process you're imagining in a bit more detail?
braincras has quit [Quit: bye bye]
johnmilton has joined #ruby
<quazimodo>
eam: ok so when I run my tests i use guard, each time it starts over, forking from something called zeus that preloads my rails environment. That makes the tests start almost immediately. But at some point i need phantomjs for a test, and it's not on. The test runner turns it out and sets up a socket to interact with it. That got me thinking if it's possible to preload phnatomjs like that. Ignoring the
<quazimodo>
socket stuff, can it even be done?
kareeoleez has quit [Ping timeout: 244 seconds]
<eam>
possibly, it depends on how phantomjs works
<eam>
in the abstract, yes you can call fork and make a copy of any process. But the devil's in the details
<eam>
the runtime needs to be structured with this kind of behavior in mind
jancel has joined #ruby
<eam>
there are even things you can do in your rails environment which can make the zeus approach fail
vdamewood has quit [Ping timeout: 250 seconds]
braincrash has joined #ruby
gix has quit [Ping timeout: 265 seconds]
casp has quit [Remote host closed the connection]
<quazimodo>
hrm
<quazimodo>
can you give me an example so I get it?
<eam>
of how forking like this might fail?
idefine has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam>
quazimodo: does zeus connect to your database in the preloaded rails environment in the pristine parent copy?
yfeldblum has quit [Remote host closed the connection]
xlegoman has quit [Quit: xlegoman]
yfeldblum has joined #ruby
Yeomra has joined #ruby
pawnbox has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
shinnya has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
paradisaeidae_ has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
sauvin has joined #ruby
kareeoleez has joined #ruby
bronson has joined #ruby
dopamean_ has quit [Ping timeout: 265 seconds]
roamingdog has quit []
jancel has joined #ruby
darkxploit has quit [Ping timeout: 244 seconds]
terminalrecluse has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 240 seconds]
crystal77 has quit [Read error: Connection reset by peer]
crystal77 has joined #ruby
d0nn1e has quit [Ping timeout: 244 seconds]
paradisaeidae_ has quit [Remote host closed the connection]
kareeole_ has joined #ruby
safe has quit [Quit: Leaving]
d0nn1e has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kareeoleez has quit [Ping timeout: 240 seconds]
kareeoleez has joined #ruby
kareeol__ has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
crystal7_ has joined #ruby
crystal77 has quit [Read error: Connection reset by peer]
codecop has joined #ruby
kareeole_ has quit [Ping timeout: 252 seconds]
Vile` has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Remote host closed the connection]
crystal7_ has quit [Client Quit]
kareeoleez has quit [Ping timeout: 276 seconds]
darkxploit has joined #ruby
darkxploit has quit [Read error: Connection reset by peer]
df has quit [Quit: .]
darkxploit has joined #ruby
jenrzzz has joined #ruby
Es0teric has joined #ruby
kareeol__ is now known as kareeoleez
jancel has quit [Remote host closed the connection]
zast has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rbennacer has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.5]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
d0lph1n98 has quit [Ping timeout: 250 seconds]
tax has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
fantasticsid has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae has quit [Client Quit]
yfeldblum has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
jdmark has joined #ruby
Ishido has joined #ruby
Vile` has joined #ruby
jdmark has left #ruby [#ruby]
sneakerhax has quit [Quit: back later]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
antgel has joined #ruby
tildes has joined #ruby
quazimodo has quit [Ping timeout: 276 seconds]
lewis1711 has quit [Ping timeout: 246 seconds]
sdothum has joined #ruby
janebootydoe has joined #ruby
Vile` has quit [Ping timeout: 276 seconds]
d0lph1n98 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
bronson has quit [Remote host closed the connection]
mistermocha has joined #ruby
d0lph1n98 has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 265 seconds]
kareeoleez has quit [Remote host closed the connection]
czerasz has joined #ruby
czerasz has quit [Remote host closed the connection]
kareeoleez has joined #ruby
czerasz has joined #ruby
angseus has joined #ruby
<austinprog>
I dont know why but I just understand ruby compared to python
czerasz has quit [Max SendQ exceeded]
angseus has quit [Client Quit]
czerasz has joined #ruby
angseus has joined #ruby
kareeoleez has quit [Ping timeout: 265 seconds]
angseus has quit [Client Quit]
angseus has joined #ruby
riddley has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
fantasticsid has quit [Remote host closed the connection]
fantasticsid has joined #ruby
fantasticsid has quit [Remote host closed the connection]
s00pcan has quit [Remote host closed the connection]
kareeoleez has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
lewis1711 has joined #ruby
kareeoleez has quit [Ping timeout: 250 seconds]
Yeomra has quit [Ping timeout: 265 seconds]
<bazzy>
is it generally better practice to use self.instance in class methods rather than @instance ???
<bazzy>
in class instance methods*
pawnbox has quit [Remote host closed the connection]
<bazzy>
I assume it's better because it allows the opportunity to "API" it rather than force it to be a variable..
<lewis1711>
I never thought about doing that. seems legit
ta_ has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rippa has joined #ruby
pawnbox has joined #ruby
sinkensabe has joined #ruby
brianpWins has joined #ruby
<bazzy>
if I have a class A with @instance ... and @instance.func exists... how do I represent @instance.func as a symbol from the scope of A's definition
yfeldblum has joined #ruby
crameth has joined #ruby
zyzioziom has joined #ruby
<bazzy>
forget it (seriously)
brianpWins_ has joined #ruby
brianpWins has quit [Read error: Connection reset by peer]
brianpWins_ is now known as brianpWins
angseus has quit [Quit: leaving]
angseus has joined #ruby
Yeomra has joined #ruby
jgt1 has joined #ruby
nhhc has joined #ruby
bronson has joined #ruby
jobewan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skolman_ has joined #ruby
brianpWins_ has joined #ruby
sp4rrow has joined #ruby
brianpWins has quit [Read error: Connection reset by peer]
brianpWins_ is now known as brianpWins
sp4rrow has quit [Client Quit]
riddley has joined #ruby
the_drow has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
skolman_ has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
yfeldblum has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
yfeldblum has joined #ruby
firstdayonthejob has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
brianpWins_ has joined #ruby
brianpWins has quit [Ping timeout: 240 seconds]
brianpWins_ is now known as brianpWins
ramfjord has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
<epistrephein>
is there an equally quick way to get /^word1$|^word2$|^word3$/ ?
kareeoleez has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SilverKey has quit [Quit: Halted.]
ramfjord has quit [Ping timeout: 250 seconds]
Vile` has quit [Ping timeout: 260 seconds]
zyzioziom has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
kareeoleez has quit [Ping timeout: 240 seconds]
<pat_>
would "Regexp.union(["word1", "word2", "word3"].map { |s| "^" + s + "$" })" work?
shinnya has joined #ruby
<epistrephein>
pat_ i tried, but it escapes ^ and $, so they become literal ^ and $
<epistrephein>
i also tried Regexp.new(["word1", "word2", "word3"].map{|x| "^#{x}$"}.join('|')) which is close to the end result, but it doesn't do escaping
<pat_>
oh replace " with '
MyMind has quit [Quit: WeeChat 1.5-dev]
<epistrephein>
still escaping: Regexp.union(["word1", "word2", "word3"].map { |s| '^' + s + '$' }) => /\^word1\$|\^word2\$|\^word3\$/
<pat_>
Sorry I'm new to ruby too. both seem to work
SegFaultAX has joined #ruby
<epistrephein>
it does pat_ , but you should be careful on your input, because if you replace "word1" with "word$" it won't escape the $
<pat_>
I see. Thanks
startupality has joined #ruby
quazimodo has joined #ruby
Vile` has joined #ruby
startupality has quit [Ping timeout: 265 seconds]
skade has joined #ruby
skade has quit [Client Quit]
janebootydoe has quit [Quit: Leaving]
ta_ has quit [Ping timeout: 240 seconds]
zyzioziom has joined #ruby
tax has quit [Ping timeout: 252 seconds]
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
Dimik has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
djbkd has joined #ruby
jalnt_ has joined #ruby
jalnt_ has quit [Remote host closed the connection]
the_drow has joined #ruby
the_drow has quit [Max SendQ exceeded]
neanderslob has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
dsea11 has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
qwkguo has joined #ruby
SCHAAP137 has joined #ruby
zyzioziom has quit [Ping timeout: 276 seconds]
dsea has quit [Ping timeout: 265 seconds]
qwkguo has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
sinkensabe has joined #ruby
blackgoat has quit [Ping timeout: 276 seconds]
neanderslob has joined #ruby
isxek has joined #ruby
detbyv has joined #ruby
hilo has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
toretore has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
detbyv has quit [Remote host closed the connection]
the_drow has joined #ruby
TheCubeLord has quit [Ping timeout: 260 seconds]
xall has quit [Ping timeout: 250 seconds]
<kareeoleez>
Has anyone issues in OSX with rvm to make the version persistent ? I've used --default and "global" but on a new session the version is lost
sembei has joined #ruby
lyshmk has joined #ruby
tatsuo has joined #ruby
sinkensabe has joined #ruby
lyshmk has quit [Remote host closed the connection]
<Caerus>
rvm --default use 2.2.5 ?
xall has joined #ruby
kgrz has joined #ruby
nhhc has quit [Ping timeout: 240 seconds]
<Caerus>
does the same on linux, latches on to the latest version... although the selected defaults just appears so upon doing ruby list
neanderslob has quit [Remote host closed the connection]
the_drow has quit [Ping timeout: 244 seconds]
the_drow has joined #ruby
coffeecupp has joined #ruby
spider-mario has joined #ruby
skade has joined #ruby
<kareeoleez>
Caerus: not working for some reason
<kareeoleez>
works for this terminal session
<kareeoleez>
If I open a new one it fails with the old version
<kareeoleez>
then I must re-run --default
<Caerus>
kareeoleez, tried on linux, behaves the same
sinkensabe has quit [Read error: Connection reset by peer]
<kareeoleez>
it doesn't on osx
<Caerus>
upon opening a new console, rvm list shows desired default marked with *
startupality has joined #ruby
<Caerus>
but latests is shown as => (current)
<Caerus>
so we're forced to re-run rvm use (desiredversion)
solocshaw has quit [Ping timeout: 260 seconds]
Jackneill has joined #ruby
<agent_white>
a
<Caerus>
my point being, it's not only on mac, maybe we're using the --default flag wrong? doubt it though, rvm doesn't complain about it :(
sinkensabe has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
neanderslob has joined #ruby
startupality has quit [Client Quit]
ferr has joined #ruby
<kareeoleez>
Caerus: maybe I should add it to .profile
djbkd has joined #ruby
startupality has joined #ruby
startupality has quit [Client Quit]
djbkd has quit [Ping timeout: 252 seconds]
startupality has joined #ruby
lewis1711 has quit [Quit: Ex-Chat]
<Caerus>
kareeoleez, I suppose thats the dirty fix
troulouliou_div2 has joined #ruby
startupality has quit [Client Quit]
sdothum has joined #ruby
<Caerus>
heh
coffeecupp has quit [Quit: WeeChat 1.5]
startupality has joined #ruby
startupality has quit [Client Quit]
blaxter has joined #ruby
pulkit4tech has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 250 seconds]
<kareeoleez>
:D
Devalo has quit [Remote host closed the connection]
the_drow has joined #ruby
skade has joined #ruby
sinkensa_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
kgrz has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
platzhirsch has joined #ruby
austinprog has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
madgen has joined #ruby
sinkensa_ has quit [Read error: Connection reset by peer]
platzhirsch has quit [Ping timeout: 244 seconds]
sinkensabe has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
d0lph1n98 has joined #ruby
jinie has joined #ruby
the_drow has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
|ifei5g00d has quit [Ping timeout: 250 seconds]
sinkensabe has joined #ruby
millerti has joined #ruby
ferr has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
jinie has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
jinie has quit [Client Quit]
jinie has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
dvycuo has joined #ruby
jinie has quit [Client Quit]
lessless has joined #ruby
jinie has joined #ruby
KINGSABRI has quit [Ping timeout: 240 seconds]
KINGSABRI has joined #ruby
dvycuo has quit [Remote host closed the connection]
der-landgraf has quit [Quit: WeeChat 1.5]
djbkd has joined #ruby
der-landgraf has joined #ruby
lessless has quit [Client Quit]
the_drow has quit [Quit: This computer has gone to sleep]
czerasz has quit [Ping timeout: 276 seconds]
duncannz has quit [Remote host closed the connection]
xall has quit [Ping timeout: 260 seconds]
ropeney has joined #ruby
ykewmi has joined #ruby
ur5us has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 260 seconds]
d0lph1n98 has quit [Ping timeout: 260 seconds]
xall has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
Masonn has joined #ruby
browndawg has joined #ruby
ur5us has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
<browndawg>
even though I froze the instance (I know I didn't freeze the class), from the POV of the user, the instance still got "mutated", right?
jgt1 has quit [Ping timeout: 276 seconds]
<browndawg>
Is there a good reason for this?
<browndawg>
Like everytime I have to be reasonably sure that an object will behave, I have to freeze both the class and object...
<browndawg>
The documentation is also misleading. "Prevents further modifications to an object". If I shadow a method on the class, from my POV the instance starts throwing out different output. From my POV it got mutated.
<browndawg>
Any comments?
<browndawg>
This is one of those things in ruby that don't 'just work'. I call freeze on a string expecting it to always print the same thing, but someone monkey patches the String class to annoy me.
d0lph1n98 has joined #ruby
quazimodo has quit [Ping timeout: 250 seconds]
<browndawg>
I mean, I know it's *technically* correct. I'm only freezing the instance, not the class. But I'm still able to simulate modifications by patching methods on the class...
<browndawg>
DAE feel the documentation should mention this...
moeabdol1 has joined #ruby
<jhass>
I feel it's pretty obvious, besides wide use of .freeze is not very common in the community IME
<jhass>
but feel free to send a doc patch to point it out
moeabdol has quit [Ping timeout: 265 seconds]
pawnbox has quit [Remote host closed the connection]
<browndawg>
jhass: It *is* obvious... to a rubyist.
<browndawg>
but it will trip up a lot of people coming to ruby, like my friend who pointed it out 10 minutes ago
<browndawg>
he comes from python
kam270 has joined #ruby
chipotle has quit [Ping timeout: 252 seconds]
Yeomra has quit [Quit: WeeChat 1.5]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 250 seconds]
Vile` has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
sepp2k has joined #ruby
tatsuo has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
quazimodo has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
itguru has quit [Quit: Leaving.]
hadronzoo has quit [Ping timeout: 244 seconds]
Kruppe has quit [Ping timeout: 244 seconds]
hadronzoo has joined #ruby
Kruppe has joined #ruby
agent_white has quit [Quit: Leaving]
Devalo has joined #ruby
tildes has quit [Ping timeout: 265 seconds]
Devalo has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
djbkd has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
startupality has joined #ruby
sinkensabe has joined #ruby
startupality has quit [Client Quit]
djbkd has quit [Ping timeout: 265 seconds]
leitz has joined #ruby
startupality has joined #ruby
d0lph1n98 has quit [Ping timeout: 260 seconds]
nando293921 has quit [Quit: Lost terminal]
nando293921 has joined #ruby
RegulationD has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
kam270 has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
gheegh has joined #ruby
tildes has joined #ruby
codeurge has joined #ruby
trinaldi has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
xall has quit [Ping timeout: 260 seconds]
madgen has joined #ruby
ferr has quit [Ping timeout: 260 seconds]
jancel has joined #ruby
platzhirsch has joined #ruby
codeurge has quit [Client Quit]
codeurge has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
hanmac has quit [Ping timeout: 276 seconds]
govg has quit [Quit: leaving]
d0lph1n98 has joined #ruby
|ifei5g00d has joined #ruby
|2701 has joined #ruby
lxsameer has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
noobsu has joined #ruby
kgrz has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
thesheff17 has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Todd has quit [Ping timeout: 260 seconds]
Vile` has joined #ruby
chipotle has joined #ruby
hanmac has joined #ruby
charliesome has joined #ruby
<leitz>
Well, another drat. Started thinking about how to refactor a class and began with mild edits to the code. Then realized there was an older git branch where I had started the same thing.
kgrz has quit [Ping timeout: 260 seconds]
Lomex has joined #ruby
pawnbox has quit [Remote host closed the connection]
<jhass>
anyway, assuming you actually got a string there, because the first split point is the first 1 so to the left side of the first 1 is the empty string
noobsu has quit [Remote host closed the connection]
the_drow has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
dualbus has quit [Quit: WeeChat 1.3]
startupality has quit [Quit: startupality]
Biopandemic has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 260 seconds]
the_drow has joined #ruby
xall has joined #ruby
jancel has joined #ruby
jancel has quit [Remote host closed the connection]
Biopandemic has joined #ruby
kgrz has quit [Quit: leaving]
kgrz has joined #ruby
smathy has joined #ruby
madgen has joined #ruby
madgen has quit [Client Quit]
madgen has joined #ruby
laska has quit [Quit: Lost terminal]
jaguarmagenta has joined #ruby
<shevy>
zacts will end up as the one who has read the most ruby books here
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
davedev24 has joined #ruby
<ponga>
hi
<ponga>
that book looks good
codecop has quit [Remote host closed the connection]
kgrz has quit [Quit: leaving]
kgrz has joined #ruby
<shevy>
hey ponga - long time no see
xall has quit [Ping timeout: 240 seconds]
kgrz has quit [Client Quit]
aries_liuxueyang has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
<zacts>
shevy: lol
startupality has joined #ruby
<zacts>
I <3 tech books (I admit it I'm a bit of a bibliophile)
pawnbox has joined #ruby
fn2187__ has quit [Read error: Connection reset by peer]
shakes has joined #ruby
rkazak has joined #ruby
Nanuq has quit [Ping timeout: 260 seconds]
<ponga>
shevy: i was away from ruby these days
kgrz has joined #ruby
<ponga>
means i was away from coding
skade has joined #ruby
kgrz has quit [Client Quit]
the_drow has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 276 seconds]
kgrz has joined #ruby
lxsameer has joined #ruby
Nanuq has joined #ruby
startupality has quit [Quit: startupality]
shakes has quit [Quit: Leaving]
startupality has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
<ponga>
damn it , a couple month away from ruby and I already forgot how to use rbenv entirely
the_drow has joined #ruby
wigust has joined #ruby
Cohedrin has joined #ruby
shakes has joined #ruby
Cohedrin has quit [Client Quit]
giz|work has joined #ruby
Cohedrin has joined #ruby
brianpWins has quit [Ping timeout: 252 seconds]
brianpWins_ has joined #ruby
sharkman has joined #ruby
<sharkman>
whats the best way to match from a group of a couple of words? right now i do =~ /((G1)|(G2))/ but i suspect there is something that looks better?
<jhass>
?fake
<ruby[bot]>
Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
startupality has quit [Quit: startupality]
startupality has joined #ruby
sinkensabe has joined #ruby
bluOxigen has joined #ruby
startupality has quit [Client Quit]
QORRiE has joined #ruby
lgrabh has quit [Remote host closed the connection]
s00pcan has quit [Ping timeout: 276 seconds]
kgrz has quit [Quit: leaving]
saneax_AFK is now known as saneax
zyzioziom has joined #ruby
lxsameer has quit [Ping timeout: 250 seconds]
jancel has joined #ruby
jancel has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
pwnd_nsfw has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
edwinvdgraaf has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
jaguarmagenta has quit [Remote host closed the connection]
platzhirsch has quit [Ping timeout: 244 seconds]
jaguarmagenta has joined #ruby
adavia has quit [Quit: Leaving]
madgen has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 246 seconds]
isxek has quit [Quit: Leaving]
saneax is now known as saneax_AFK
whiteline has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 252 seconds]
whiteline has joined #ruby
renatosilva has joined #ruby
Masonn has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
vF3hNGxc47h8 has joined #ruby
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
madgen has joined #ruby
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
<zacts>
ponga: I personally prefer rbenv over rvm
<ponga>
everyone says that so i tried it
<zacts>
ponga: what issue are you having?
<ponga>
i learnt to use it, and forgot it completely
<zacts>
oh, lol... yeah.
<ponga>
zacts: i simply forgot the entirety of how to use it
mdw has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
<ponga>
rvm is too easy for me
<zacts>
I see
<ponga>
back to rvm
mdw has quit [Max SendQ exceeded]
noobsu has joined #ruby
Yzguy has joined #ruby
<ponga>
zacts: i even had to google search "basic vi commands'
noobsu has quit [Remote host closed the connection]
<ponga>
im shit now
<shevy>
hehe
bruno- has joined #ruby
<ponga>
don't giggle shev
shakes has quit [Quit: Leaving]
<ponga>
pity me
mdw has joined #ruby
saneax_AFK is now known as saneax
Coldblackice has joined #ruby
<shevy>
I pity them all!
mercerist has joined #ruby
jancel has joined #ruby
jancel has quit [Remote host closed the connection]
<ellistaa>
when i write unit tests, do i only want to test input and output since i’m testing for behavior not implementation?
<ellistaa>
so i dont really care what the internal is doing?
<jhass>
most of time, sometimes side effects
<laska>
is there a more convenient way to create a gui than shoes?
quazimodo has quit [Ping timeout: 276 seconds]
leitz has joined #ruby
pyramid has left #ruby [#ruby]
yfeldblum has joined #ruby
sinkensabe has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
<ellistaa>
jhass: was that an answer to my question? or someone elses i just came in the room.
<ellistaa>
side effects?
mbreedlove has joined #ruby
<jhass>
yes and yes side effects, like it added a record to some database table or so
<ellistaa>
oh i see
<ellistaa>
so if i had a method Person.new, i would test the incoming params, the output, and then i’d check to see if the db got a new person or something?
d0nn1e has quit [Ping timeout: 246 seconds]
<jhass>
if you implemented Person.new on your own, yeah
<jhass>
don't test third party libs doing what they're supposed to do
<ellistaa>
cool … thank you
Yzguy has joined #ruby
sinkensabe has quit [Ping timeout: 276 seconds]
d0nn1e has joined #ruby
the_drow has joined #ruby
bronson has joined #ruby
flashpoint9 has joined #ruby
codeurge has joined #ruby
nankyokusei has joined #ruby
roamingdog has quit [Remote host closed the connection]
knaesig has joined #ruby
troulouliou_dev has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
laska has quit [Quit: Lost terminal]
cpup has joined #ruby
flashpoint9 has quit [Ping timeout: 260 seconds]
wnd has quit [Ping timeout: 250 seconds]
wnd has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Axy has joined #ruby
codecop has joined #ruby
griffindy has joined #ruby
Lomex has joined #ruby
CoderPuppy has quit [Ping timeout: 246 seconds]
alxgsv has joined #ruby
Dimik has joined #ruby
Mia has quit [Ping timeout: 265 seconds]
jhack has joined #ruby
austinprog has joined #ruby
CoderPuppy has joined #ruby
Lomex_ has joined #ruby
Lomex has quit [Read error: Connection reset by peer]
Mia has joined #ruby
Axy has quit [Ping timeout: 265 seconds]
cpup has quit [Ping timeout: 260 seconds]
InfraRuby has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
jancel has joined #ruby
griffindy has quit [Max SendQ exceeded]
ctrlrsf has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
s00pcan has joined #ruby
rubyrubyruby has joined #ruby
the_drow has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
the_drow has joined #ruby
the_drow has quit [Max SendQ exceeded]
diegoviola has joined #ruby
jancel has quit [Ping timeout: 265 seconds]
zel has joined #ruby
the_drow has joined #ruby
zel is now known as Guest38458
flopsec has joined #ruby
Lomex_ has quit [Ping timeout: 250 seconds]
Lomex has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
rubyrubyruby has quit [Ping timeout: 250 seconds]
araujo_ has quit [Ping timeout: 260 seconds]
Mia has quit [Ping timeout: 265 seconds]
araujo_ has joined #ruby
elifoster has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
Mia has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
aphprentice has joined #ruby
mercerist has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
diego1 has joined #ruby
LoneHermit has joined #ruby
Lomex has quit [Quit: Leaving...]
the_drow has quit [Read error: Connection reset by peer]
blaxter has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
sinkensabe has joined #ruby
whiteline has quit [Ping timeout: 252 seconds]
diegoviola has quit [Ping timeout: 276 seconds]
terlar has quit [Quit: WeeChat 1.5]
Yiota has joined #ruby
diego1 has joined #ruby
sinkensabe has quit [Ping timeout: 265 seconds]
dmr8 has quit [Ping timeout: 246 seconds]
symm- has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
dmr8 has joined #ruby
foucist has quit [Ping timeout: 244 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
whiteline has joined #ruby
mr_robot_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
roamingdog has joined #ruby
Devalo has joined #ruby
dsea has quit [Quit: Leaving]
pwnd_nsfw has joined #ruby
<zacts>
shevy: ch 10 of HF Ruby book is done \o/... Anyway, /me idles for a bit...
<zacts>
10/15
dsea has joined #ruby
brianpWins_ has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby
thesheff17 has left #ruby [#ruby]
jaguarmagenta has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
bruno- has quit [Ping timeout: 250 seconds]
madgen has quit [Ping timeout: 260 seconds]
ebbflowgo has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
rapha has joined #ruby
<rapha>
Hi!
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mherold has joined #ruby
<jhass>
hi
<rapha>
Is there a neat way of writing `something ||= something_else` where `something` could be an empty string and still be set to `something_else`?
noobineer has joined #ruby
noobsu has quit [Read error: Connection reset by peer]
<rapha>
(`something.blank? && something = something_else` works with Rails ofc but doesn't really look pretty)
noobsu has joined #ruby
<smathy>
rapha, no operator sort of thing like ||=, no. I usually use postfix conditional in this situation: something = something_else if something.blank?
blackmesa has joined #ruby
<rapha>
smathy: hmm, at least that's more readable than my version :)
antgel has joined #ruby
pawnbox has quit [Remote host closed the connection]
Fridtjof has quit [Ping timeout: 276 seconds]
the_drow has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
<smathy>
Yup.
the_drow has joined #ruby
beatdown has quit [Killed (orwell.freenode.net (Nickname regained by services))]
beatdown_ has joined #ruby
Devalo has quit [Remote host closed the connection]
dsea has quit [Read error: Connection reset by peer]
mherold has quit [Read error: Connection reset by peer]
mherold has joined #ruby
<jhass>
if we're talking activesupport/rails another version would be something = something.presence || something_else, not sure I prefer it over the modifer-if here though
Oclair has joined #ruby
austinprog has quit [Ping timeout: 244 seconds]
chipotle has quit [Quit: cheerio]
Fridtjof has joined #ruby
flashpoint9 has joined #ruby
noobineer has quit [Quit: Leaving]
astrobun_ has quit [Read error: Connection reset by peer]
ellistaa has quit [Quit: ellistaa]
astrobunny has joined #ruby
cpup has joined #ruby
mercerist has quit [Read error: Connection reset by peer]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 260 seconds]
CoderPuppy has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
rubyrubyruby has joined #ruby
<shevy>
something
mtkd has joined #ruby
codeurge has joined #ruby
bhegel has joined #ruby
Devalo has joined #ruby
LoneHermit has quit [Remote host closed the connection]
wnd has quit [Excess Flood]
wnd has joined #ruby
chepoweon has joined #ruby
roamingdog has joined #ruby
mr_robot_ has joined #ruby
CoderPuppy has joined #ruby
Azure has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
madgen has joined #ruby
kirillow has joined #ruby
bhegel has quit [Quit: bhegel]
cpup has quit [Ping timeout: 260 seconds]
the_drow has quit [Read error: Connection reset by peer]
<kirillow>
another question: i've got a file helpers.rb with some methods. I want those methods to be available in all *.slim files. How, roughly, do I go about doing this? This is for a static website
wigust has quit [Remote host closed the connection]
bruno- has joined #ruby
xall has joined #ruby
<kirillow>
nvm
<kirillow>
m*
<kirillow>
m(
kirillow has quit [Quit: WeeChat 1.0.1]
czerasz has joined #ruby
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 246 seconds]
xall has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
Mon_Ouie has joined #ruby
jancel has joined #ruby
leitz has joined #ruby
jhack has quit [Quit: jhack]
jancel has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
j_mcnall_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jancel has joined #ruby
jhack has joined #ruby
jaguarmagenta has joined #ruby
KINGSABRI_ has quit [Ping timeout: 250 seconds]
ljames has quit []
KINGSABRI_ has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
flashpoint9 has joined #ruby
jhack has quit [Client Quit]
skade has joined #ruby
futilegames has joined #ruby
LoneHerm_ has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
mr_robot_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jancel has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
codeurge has joined #ruby
A124 has quit [Ping timeout: 260 seconds]
A124 has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
mbreedlove has quit [Ping timeout: 246 seconds]
KINGSABRI_ has quit [Ping timeout: 276 seconds]
KINGSABRI has joined #ruby
foucist has quit [Quit: leaving]
DanyC has joined #ruby
futilegames has quit [Quit: futilegames]
DanyC has left #ruby [#ruby]
nofxx has quit [Ping timeout: 260 seconds]
swerwath has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
chipotle has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
mosh has joined #ruby
aries_liuxueyang has quit [Ping timeout: 276 seconds]
<rapha>
jhass: oops, saw your second suggestion just now. What is it you dislike about it?
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hinbody has quit [Ping timeout: 276 seconds]
noobsu has quit [Read error: Connection reset by peer]
<jhass>
I think the if reads more naturally here
futilegames has joined #ruby
noobsu has joined #ruby
futilegames has quit [Client Quit]
wldcordeiro has quit [Quit: WeeChat 1.4]
roamingdog has quit [Remote host closed the connection]
bronson has joined #ruby
codeurge has joined #ruby
roamingdog has joined #ruby
<rapha>
jhass: Hmm ... okay, the .presence is admittedly weird.
bronson has quit [Ping timeout: 252 seconds]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
whathappens has joined #ruby
noobsu has quit [Read error: Connection reset by peer]
bruno- has quit [Read error: Connection reset by peer]
aeterne has joined #ruby
bruno- has joined #ruby
noobsu has joined #ruby
Xaitec has quit [Remote host closed the connection]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blaxter has joined #ruby
marr has joined #ruby
Ishido has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
SilverKey has quit [Quit: Halted.]
mosh has quit [Quit: jmIrc destroyed by the OS]
Cohedrin has quit [Ping timeout: 260 seconds]
codeurge has joined #ruby
knaesig has quit [Quit: WeeChat 1.0.1]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wigust has joined #ruby
Cohedrin has joined #ruby
LoneHerm_ has joined #ruby
austinprog has joined #ruby
greves has quit [Ping timeout: 244 seconds]
jancel has joined #ruby
yfeldblum has joined #ruby
LoneHerm_ has quit [Ping timeout: 276 seconds]
sepp2k has joined #ruby
jancel has quit [Remote host closed the connection]
noobsu has quit [Read error: Connection reset by peer]
noobsu has joined #ruby
solars has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Ping timeout: 240 seconds]
Jet4Fire has quit [Read error: Connection reset by peer]
Jet4Fire has joined #ruby
mr_robot_ has joined #ruby
sauvin has joined #ruby
ta_ has joined #ruby
nawn has joined #ruby
nankyokusei has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
nerium has joined #ruby
bruno- has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
SilverKey has joined #ruby
nawn` has joined #ruby
<nawn`>
:)
elifoster has quit [Ping timeout: 240 seconds]
ruby-lang653 has joined #ruby
nawn` has quit [Client Quit]
<ruby-lang653>
hey, I’m supposed to write a program that allows a user to input A, B, C, D or E as many times as they would like. If they hit any other character, the program should display the sum of the purchase. Here are the prices of the items (some have special SALE prices) A - 0.50or3 for $1.00 B - 1.25 C - 0.75or4 for $2.50 D - 1.00 E - 0.69
<ruby-lang653>
I'm a beginner so any help is much appreciated
nawn` has joined #ruby
<nawn`>
y
mr_robot_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mooe has joined #ruby
nawn` has quit [Remote host closed the connection]
|ifei5g00d has quit []
`tim` has joined #ruby
<nawn>
What kind of code do you have so far?
noobsu has quit [Remote host closed the connection]
nawn` has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edwinvdgraaf has quit [Remote host closed the connection]
<nawn`>
ruby-lang653: ?
ruby-lang653 has quit [Ping timeout: 250 seconds]
<nawn`>
Oh... okay, haha.
nawn has quit [Quit: Leaving]
<nawn`>
: ^)
Nanuq has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
`tim` is now known as justbleed
mosh has joined #ruby
sthns has joined #ruby
sinkensabe has joined #ruby
xall has joined #ruby
zenlot has joined #ruby
zenlot6 has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
zyzioziom has quit [Quit: zyzioziom]
quakephil has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
Jackneill has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
madgen has quit [Ping timeout: 240 seconds]
Devalo has quit [Ping timeout: 250 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jancel has joined #ruby
QORRiE has quit [Quit: Leaving]
nawn` has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
nawn has joined #ruby
roamingdog has quit [Remote host closed the connection]
ledestin has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
Coldblackice has quit [Ping timeout: 250 seconds]
Yzguy has quit [Quit: Zzz...]
nawn has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Gasher has joined #ruby
jaguarmagenta has joined #ruby
dmr8 has quit [Quit: Leaving]
jancel has quit [Remote host closed the connection]
roamingdog has joined #ruby
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sarlalian_ has quit [Ping timeout: 252 seconds]
TomyLobo has joined #ruby
sarlalian has joined #ruby
duncannz has joined #ruby
sinkensabe has joined #ruby
diegoaguilar has joined #ruby
jancel has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
jancel has quit [Remote host closed the connection]
jancel has joined #ruby
jancel has quit [Remote host closed the connection]
kirun has quit [Quit: Client exiting]
skingsbu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Elvin has joined #ruby
SCHAAP137 has quit [Ping timeout: 252 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
Gasher has quit [Quit: Leaving]
leitz has quit [Ping timeout: 244 seconds]
xue has quit [Ping timeout: 276 seconds]
roamingdog has quit []
skingsbu has joined #ruby
spider-mario has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 260 seconds]
SilverKey has quit [Quit: Halted.]
CloCkWeRX has joined #ruby
SCHAAP137 has joined #ruby
Trynemjoel has quit [Ping timeout: 264 seconds]
Trynemjoel has joined #ruby
atrom has joined #ruby
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crystal77 has joined #ruby
<atrom>
df
TomyLobo has quit [Read error: Connection reset by peer]
crystal77 has quit [Client Quit]
yaw has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sarlalian has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.4]
pawnbox has joined #ruby
TomyLobo has joined #ruby
sarlalian has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
LoneHermit has joined #ruby
<rubyrubyruby>
what should I use for the "platform" attribute in a gemspec for a gem that runs on all windows platforms (mswin{32,64}, mingw{32,64}, etc.)
diegoviola has joined #ruby
quazimodo has joined #ruby
kareeoleez has quit [Ping timeout: 265 seconds]
sinkensa_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
LoneHermit has quit [Ping timeout: 260 seconds]
bruno- has quit [Read error: Connection reset by peer]