apeiros changed the topic of #ruby-lang to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
kiyote23 has quit [Ping timeout: 258 seconds]
jo__ has quit [Quit: Connection closed for inactivity]
<pweids> hey, what does :'gal.' in Measurement.define(:'gal.') mean? I don't get the mixed symbol and string syntax here
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ljarvis> pweids: it's a symbol but the period isn't valid symbol syntax
<ljarvis> so you can do stuff like :"foo-bar@baz"
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pweids> I was playing around with in in irb with something like s = :"gal." and the value of s included the period
<ljarvis> yep
<ljarvis> it's still a symbol
<ljarvis> >> :"foo" == :foo
<eval-in__> ljarvis => true (https://eval.in/231653)
<pweids> oooh
<ljarvis> but :foo. would obs be a syntax error
<havenwood> >> %i[foo. bar@] == [:'foo.', :'bar@']
<eval-in__> havenwood => true (https://eval.in/231654)
kiyote23 has joined #ruby-lang
<ljarvis> yeah %i is nice for that
<havenwood> >> %i[\t \n \s]
<eval-in__> havenwood => [:"\\t", :"\\n", :"\\s"] (https://eval.in/231655)
<havenwood> essentials like ^ >.>
<pweids> cool. thanks guys
<havenwood> err, meant to %I
<havenwood> left shift key broken is such a bother
arBmind1 has joined #ruby-lang
AmirolAhmad has joined #ruby-lang
arBmind has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby-lang
hramrach_ has joined #ruby-lang
malconis has joined #ruby-lang
oak has joined #ruby-lang
jorge has joined #ruby-lang
mattyohe has joined #ruby-lang
jorge has joined #ruby-lang
scottschecter has joined #ruby-lang
scottschecter has quit [Max SendQ exceeded]
jorge has quit [Client Quit]
jorge has joined #ruby-lang
badelat has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
jorge has quit [Client Quit]
malconis has quit [Read error: Connection reset by peer]
jorge has joined #ruby-lang
midhir has joined #ruby-lang
btiefert has quit [Read error: Connection reset by peer]
malconis has joined #ruby-lang
jorge has quit [Client Quit]
GBrawl has quit [Quit: (null)]
jorge has joined #ruby-lang
midhir has quit [Ping timeout: 258 seconds]
Stichoza has quit [Quit: Lingo: www.lingoirc.com]
Stichoza has joined #ruby-lang
jorge has quit [Client Quit]
jorge has joined #ruby-lang
AmirolAhmad has quit [Ping timeout: 258 seconds]
AmirolAhmad has joined #ruby-lang
jorge is now known as JEC
JEC is now known as bigbootyho
bigbootyho is now known as jcc
jcc is now known as jorge
jorge has quit [Quit: leaving]
jorge has joined #ruby-lang
rcvalle_ has joined #ruby-lang
rcvalle has quit [Ping timeout: 245 seconds]
rcvalle_ is now known as rcvalle
Stichoza has quit [Quit: Lingo: www.lingoirc.com]
Stichoza has joined #ruby-lang
Stichoza has quit [Client Quit]
Stichoza has joined #ruby-lang
Artemitch has joined #ruby-lang
jorge has quit [Quit: leaving]
malconis has quit [Read error: Connection reset by peer]
Artemitch has quit [Ping timeout: 250 seconds]
|jemc| has joined #ruby-lang
malconis has joined #ruby-lang
kiyote23 has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 1.0.1]
duderonomy has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
|jemc| has joined #ruby-lang
charliesome has quit [Quit: zzz]
elia has quit [Quit: Computer has gone to sleep.]
malconis has joined #ruby-lang
x-light has joined #ruby-lang
x-light has quit [Remote host closed the connection]
nofxx__ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Client Quit]
banister has joined #ruby-lang
banister has quit [Client Quit]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
malconis has joined #ruby-lang
badelat has joined #ruby-lang
badelat has quit [Ping timeout: 240 seconds]
midhir has joined #ruby-lang
midhir_ has joined #ruby-lang
nathanstitt has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
ta has joined #ruby-lang
ianstarz_ has joined #ruby-lang
ta has quit [Ping timeout: 260 seconds]
usershell has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Client Quit]
fuhgeddaboudit has quit [Ping timeout: 265 seconds]
banister has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
charliesome has quit [Client Quit]
Mothore___ has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
malconis has joined #ruby-lang
malconis has quit [Client Quit]
usershel_ has joined #ruby-lang
usershell has quit [Ping timeout: 240 seconds]
jxie has quit [Quit: leaving]
malconis has joined #ruby-lang
HACKING-FACEBOOK has joined #ruby-lang
Stichoza has quit [Quit: Be back later ...]
Forgetful_Lion has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
Artemitch has joined #ruby-lang
charliesome has joined #ruby-lang
Artemitch has quit [Ping timeout: 250 seconds]
HACKING-FACEBOOK has quit [Ping timeout: 244 seconds]
HACKING-FACEBOOK has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby-lang
usershell has joined #ruby-lang
HACKING-FACEBOOK has quit [Ping timeout: 245 seconds]
jgpawletko has quit [Quit: jgpawletko]
spetryk has quit [Quit: Be back later ...]
usershel_ has quit [Ping timeout: 265 seconds]
AmirolAhmad has quit [Remote host closed the connection]
arooni-mobile has joined #ruby-lang
t3h_j4n170r has quit [Ping timeout: 244 seconds]
t7y9r has quit [Ping timeout: 250 seconds]
ruby-lang330 has joined #ruby-lang
t3h_j4n170r has joined #ruby-lang
<ruby-lang330> I have a simple question. If I do something like "rescue Errno::EACCES" or something, is there a way to get the error code (eg 13) from it?
t7y9r has joined #ruby-lang
ruby-lang330 has quit [Ping timeout: 246 seconds]
senor_jalapeno has quit [Ping timeout: 255 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
ta has joined #ruby-lang
Stichoza has joined #ruby-lang
ta has quit [Ping timeout: 260 seconds]
Stichoza has quit [Ping timeout: 244 seconds]
midhir_ has quit [Remote host closed the connection]
midhir_ has joined #ruby-lang
oak has quit [Quit: oak]
<|jemc|> >> Errno::EACCES::Errno
<eval-in__> |jemc| => 13 (https://eval.in/231661)
oak has joined #ruby-lang
cantonic has quit [Quit: cantonic]
usershel_ has joined #ruby-lang
mistym has joined #ruby-lang
midhir_ has quit [Ping timeout: 265 seconds]
usershell has quit [Ping timeout: 240 seconds]
senor_jalapeno has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
cantonic has joined #ruby-lang
whitequark has quit [Quit: Changing server]
arBmind1 has quit [Quit: Leaving.]
whitequark has joined #ruby-lang
spetryk has joined #ruby-lang
AmirolAhmad has joined #ruby-lang
spetryk has quit [Ping timeout: 256 seconds]
AmirolAhmad has quit [Ping timeout: 244 seconds]
<|jemc|> cout: constants are lexically scoped
<cout> yeah I remember when matz made that change
<cout> I guess it makes sense
<cout> not sure how to put it into words
<cout> is there any way to get the block case to behave like the string case?
fclausen has joined #ruby-lang
<|jemc|> heh, if you're using Rubinius, there is
<|jemc|> in actual standard ruby API, not sure
dagda1_ has quit [Ping timeout: 245 seconds]
jimbach has joined #ruby-lang
nofxx__ has quit [Ping timeout: 252 seconds]
dagda1 has joined #ruby-lang
<cout> with ruby-internal I think I could unbind the proc and rebind it to a different binding, but I'm hoping to avoid such black magic
jimbach has quit [Ping timeout: 258 seconds]
gix has quit [Ping timeout: 255 seconds]
Bwild has quit [Ping timeout: 244 seconds]
Bwild has joined #ruby-lang
midhir has quit [Remote host closed the connection]
gix has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Artemitch has joined #ruby-lang
mistym has quit [Remote host closed the connection]
fclausen_ has joined #ruby-lang
diegoviola has joined #ruby-lang
Artemitch has quit [Ping timeout: 252 seconds]
fclausen has quit [Ping timeout: 272 seconds]
nertzy has joined #ruby-lang
malconis has joined #ruby-lang
cantonic has left #ruby-lang [#ruby-lang]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has joined #ruby-lang
red_menace has quit [Ping timeout: 260 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
red_menace has joined #ruby-lang
kirin` has quit [Ping timeout: 250 seconds]
elimS has joined #ruby-lang
kirin` has joined #ruby-lang
ianstarz_ has quit [Quit: Connection closed for inactivity]
spetryk has joined #ruby-lang
malconis has joined #ruby-lang
badelat has joined #ruby-lang
JokerDoom has joined #ruby-lang
spetryk has quit [Ping timeout: 250 seconds]
kiyote23 has quit [Remote host closed the connection]
_JokerDoom has quit [Ping timeout: 260 seconds]
kiyote23 has joined #ruby-lang
badelat has quit [Ping timeout: 250 seconds]
_JokerDoom has joined #ruby-lang
Bwild has quit [Ping timeout: 258 seconds]
JokerDoom has quit [Ping timeout: 265 seconds]
kiyote23 has quit [Ping timeout: 256 seconds]
felipebalbi has joined #ruby-lang
<felipebalbi> hi, trying to use thor to add a few lines to specific places in a file
<felipebalbi> I have it (almost) working
<felipebalbi> is there a way to tell inject_into_file to indent the lines I insert with the same amount of spaces (or tabs) as the line before (or after) my strings ?
Bwild has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
arooni-mobile has quit [Ping timeout: 256 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby-lang
Stichoza has joined #ruby-lang
Mothore____ has joined #ruby-lang
malconis has joined #ruby-lang
Mothore___ has quit [Ping timeout: 244 seconds]
ta has quit [Ping timeout: 264 seconds]
existensil has quit [Quit: WeeChat 0.4.2]
Stichoza has quit [Ping timeout: 272 seconds]
malconis has quit [Client Quit]
mistym has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
dagda1 has quit [Ping timeout: 258 seconds]
nathanstitt has quit [Quit: I growing sleepy]
nertzy has joined #ruby-lang
dagda1 has joined #ruby-lang
simi has joined #ruby-lang
malconis has joined #ruby-lang
malconis has quit [Client Quit]
jeaye has quit [Ping timeout: 272 seconds]
malconis has joined #ruby-lang
|jemc| has quit [Ping timeout: 264 seconds]
ur5us has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeaye has joined #ruby-lang
dagda1 has quit [Ping timeout: 260 seconds]
senor_jalapeno has quit [Ping timeout: 244 seconds]
cmhobbs has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
mistym has quit [Ping timeout: 244 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
t3h_j4n170r has quit [Ping timeout: 258 seconds]
t7y9r has quit [Ping timeout: 265 seconds]
t3h_j4n170r has joined #ruby-lang
t7y9r has joined #ruby-lang
kiyote23 has joined #ruby-lang
dagda1 has quit [Ping timeout: 244 seconds]
malconis has joined #ruby-lang
dagda1 has joined #ruby-lang
|jemc| has joined #ruby-lang
oak has quit [Ping timeout: 260 seconds]
t7y9r has quit [Ping timeout: 258 seconds]
t3h_j4n170r has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby-lang
t7y9r has joined #ruby-lang
t3h_j4n170r has joined #ruby-lang
chinmay_dd has joined #ruby-lang
jxie has joined #ruby-lang
Artemitch has joined #ruby-lang
kiyote23 has quit [Ping timeout: 240 seconds]
dagda1 has quit [Ping timeout: 245 seconds]
elimS has left #ruby-lang ["Be back later ..."]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dagda1 has joined #ruby-lang
Artemitch has quit [Ping timeout: 272 seconds]
midhir has joined #ruby-lang
rippa has joined #ruby-lang
red_menace has quit [Quit: Quit]
midhir has quit [Ping timeout: 240 seconds]
malconis has joined #ruby-lang
iamninja has joined #ruby-lang
malconis has quit [Client Quit]
|jemc| has quit [Ping timeout: 264 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
AmirolAhmad has joined #ruby-lang
spetryk has joined #ruby-lang
mattyohe has quit [Quit: Connection closed for inactivity]
badelat has joined #ruby-lang
spetryk has quit [Ping timeout: 265 seconds]
badelat has quit [Ping timeout: 260 seconds]
pweids has quit [Ping timeout: 246 seconds]
hahuang61 has joined #ruby-lang
dagda1 has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby-lang
hahuang61 has quit [Client Quit]
dagda1 has joined #ruby-lang
malconis has joined #ruby-lang
malconis has quit [Client Quit]
Stichoza has joined #ruby-lang
Mothore____ has quit [Quit: Be back later ...]
ur5us has quit [Ping timeout: 264 seconds]
Stichoza has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Quit: WeeChat 1.0.1]
hahuang65 has joined #ruby-lang
daguar has quit [Read error: Connection reset by peer]
benlakey has quit [Read error: Connection reset by peer]
th2389_____ has quit [Read error: Connection reset by peer]
lacrosse__ has quit [Ping timeout: 258 seconds]
eristic has quit [Ping timeout: 258 seconds]
hahuang61 has joined #ruby-lang
hahuang61 has quit [Client Quit]
daguar has joined #ruby-lang
Artemitch has joined #ruby-lang
benlakey_ has joined #ruby-lang
hahuang65 has quit [Quit: WeeChat 1.0.1]
hahuang65 has joined #ruby-lang
th2389_____ has joined #ruby-lang
hahuang61 has joined #ruby-lang
ta has joined #ruby-lang
Artemitch has quit [Ping timeout: 264 seconds]
lacrosse__ has joined #ruby-lang
eristic_ has joined #ruby-lang
usershell has joined #ruby-lang
jxie has quit [Ping timeout: 264 seconds]
toretore has joined #ruby-lang
jxie has joined #ruby-lang
usershel_ has quit [Ping timeout: 244 seconds]
fusillicode has joined #ruby-lang
hahuang61 has quit [Ping timeout: 244 seconds]
ta has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
AmirolAhmad has quit [Remote host closed the connection]
mistym has joined #ruby-lang
beawesomeinstead has quit [Ping timeout: 250 seconds]
allolex___ has quit [Ping timeout: 255 seconds]
hahuang61 has quit [Quit: WeeChat 1.0.1]
chancancode has quit [Ping timeout: 258 seconds]
ramblinpeck_ has quit [Ping timeout: 258 seconds]
wizonesolutions has quit [Ping timeout: 272 seconds]
jlpeters has quit [Ping timeout: 272 seconds]
akahn has quit [Ping timeout: 258 seconds]
jxie has quit [Ping timeout: 244 seconds]
nomadicoder has quit [Ping timeout: 272 seconds]
bcardarella_ has quit [Ping timeout: 272 seconds]
AmirolAhmad has joined #ruby-lang
hahuang61 has joined #ruby-lang
jxie has joined #ruby-lang
oak has joined #ruby-lang
fusillicode has joined #ruby-lang
fusillicode has quit [Ping timeout: 264 seconds]
toretore has quit [Quit: This computer has gone to sleep]
benlakey_ has quit [Ping timeout: 265 seconds]
SkramX_ has quit [Ping timeout: 272 seconds]
juuo has quit []
th2389_____ has quit [Ping timeout: 272 seconds]
daguar has quit [Ping timeout: 244 seconds]
benlakey_ has joined #ruby-lang
Stichoza has joined #ruby-lang
Exelon has joined #ruby-lang
Exelon has left #ruby-lang [#ruby-lang]
sirpeng has joined #ruby-lang
fusillicode has joined #ruby-lang
Stichoza has quit [Ping timeout: 240 seconds]
daguar has joined #ruby-lang
chinmay_dd has quit [Ping timeout: 250 seconds]
allomov has joined #ruby-lang
th2389_____ has joined #ruby-lang
fusillicode has quit [Ping timeout: 265 seconds]
SkramX_ has joined #ruby-lang
Artemitch has joined #ruby-lang
simi has quit [Ping timeout: 240 seconds]
Artemitch has quit [Ping timeout: 250 seconds]
chinmay_dd has joined #ruby-lang
allomov has quit [Remote host closed the connection]
arBmind has joined #ruby-lang
midhir has joined #ruby-lang
fusillicode has joined #ruby-lang
[spoiler] has joined #ruby-lang
chinmay_dd has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby-lang
Bwild has quit [Ping timeout: 240 seconds]
fusillicode has quit [Ping timeout: 244 seconds]
midhir has quit [Ping timeout: 264 seconds]
GBrawl has joined #ruby-lang
[spoiler] has quit [Ping timeout: 258 seconds]
spetryk has joined #ruby-lang
AmirolAh_ has joined #ruby-lang
AmirolAhmad has quit [Ping timeout: 244 seconds]
nisstyre has quit [Ping timeout: 255 seconds]
jxie has quit [Ping timeout: 272 seconds]
spetryk has quit [Ping timeout: 272 seconds]
Bwild has joined #ruby-lang
chinmay_dd has joined #ruby-lang
allomov has joined #ruby-lang
fusillicode has joined #ruby-lang
allomov has quit [Ping timeout: 244 seconds]
chinmay_dd has quit [Ping timeout: 264 seconds]
fusillicode has quit [Ping timeout: 250 seconds]
kiyote23 has joined #ruby-lang
Artemitch has joined #ruby-lang
kiyote23 has quit [Ping timeout: 260 seconds]
ddd has quit [Ping timeout: 258 seconds]
ddd has joined #ruby-lang
mistym has quit [Quit: Leaving...]
nisstyre has joined #ruby-lang
fusillicode has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
ta has joined #ruby-lang
chinmay_dd has joined #ruby-lang
Elite6809 has quit [Ping timeout: 260 seconds]
fusillicode has joined #ruby-lang
AmirolAh_ has quit []
ta has quit [Ping timeout: 260 seconds]
Bwild has quit [Ping timeout: 250 seconds]
[spoiler] has joined #ruby-lang
Bwild has joined #ruby-lang
Artemitch has quit [Ping timeout: 245 seconds]
fusillicode has quit [Ping timeout: 250 seconds]
koderok has joined #ruby-lang
koderok has quit [Remote host closed the connection]
jxie has joined #ruby-lang
badelat has joined #ruby-lang
badelat has quit [Ping timeout: 244 seconds]
fusillicode has joined #ruby-lang
fusillicode has quit [Ping timeout: 272 seconds]
chinmay_dd_ has joined #ruby-lang
Stichoza has joined #ruby-lang
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 265 seconds]
cornerma1 is now known as cornerman
Stichoza has quit [Ping timeout: 264 seconds]
fusillicode has joined #ruby-lang
jimbach has joined #ruby-lang
Mothore____ has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
jimbach has quit [Ping timeout: 258 seconds]
ur5us has quit [Remote host closed the connection]
Mothore____ has quit [Ping timeout: 258 seconds]
oak has quit [Ping timeout: 258 seconds]
micechal has joined #ruby-lang
micechal_ has quit [Ping timeout: 256 seconds]
fusillicode has joined #ruby-lang
spetryk has joined #ruby-lang
allomov has joined #ruby-lang
fusillicode has quit [Ping timeout: 264 seconds]
spetryk has quit [Ping timeout: 245 seconds]
midhir has joined #ruby-lang
midhir has quit [Ping timeout: 272 seconds]
Quackmatic has joined #ruby-lang
jg_ has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest6095
catdog_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
fusillicode has joined #ruby-lang
<catdog_> What kind of gem or hashing algorithm do you use for basic two-way encryption/decryption?
Guest6095 has quit [Ping timeout: 240 seconds]
zz_dlu has quit [Ping timeout: 245 seconds]
lapide_viridi has joined #ruby-lang
zz_dlu has joined #ruby-lang
Asher has quit [Read error: No route to host]
Asher has joined #ruby-lang
catdog_ has quit [Ping timeout: 246 seconds]
bcardarella_ has joined #ruby-lang
chussenot has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
Stichoza has joined #ruby-lang
akahn has joined #ruby-lang
Artemitch has joined #ruby-lang
Stichoza has quit [Ping timeout: 256 seconds]
GaelanAintAround has quit [Ping timeout: 272 seconds]
chancancode has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
zz_dlu has quit [Ping timeout: 244 seconds]
zz_dlu has joined #ruby-lang
jxie has quit [Quit: leaving]
nomadicoder has joined #ruby-lang
usershell has quit [Remote host closed the connection]
jlpeters has joined #ruby-lang
Miphix has joined #ruby-lang
fclausen_ has quit [Ping timeout: 272 seconds]
wizonesolutions has joined #ruby-lang
tkuchiki has joined #ruby-lang
chussenot has quit [Quit: chussenot]
Narzew has joined #ruby-lang
benlakey_ has quit [Read error: Connection reset by peer]
daguar has quit [Read error: Connection reset by peer]
SkramX_ has quit [Read error: Connection reset by peer]
lacrosse__ has quit [Read error: Connection reset by peer]
eristic_ has quit [Write error: Connection reset by peer]
th2389_____ has quit [Write error: Connection reset by peer]
chussenot has joined #ruby-lang
allolex___ has joined #ruby-lang
ramblinpeck_ has joined #ruby-lang
dellavg has joined #ruby-lang
zz_dlu has quit [Ping timeout: 244 seconds]
gianlucadv has quit [Quit: Ex-Chat]
ikrima has joined #ruby-lang
nofxx__ has joined #ruby-lang
workmad3 has joined #ruby-lang
zz_dlu has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
tkuchiki has quit [Ping timeout: 252 seconds]
spetryk has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
spetryk has quit [Ping timeout: 244 seconds]
Guest85414______ has joined #ruby-lang
symm- has joined #ruby-lang
<chinmay_dd_> Hello guys, need some help. I am trying to solve a problem for which i already have a c++ code. I am trying to convert it to Ruby. But on submission to the online judge the C++ code passes but Ruby one is giving me Non Zero Exit code. Can someone help me out ? Thanks! C++ code - https://gist.github.com/chinmaydd/fcd3cfa9d15e6288c489 Ruby Code - https://gist.github.com/chinmaydd/bd44682ab0e66f22a5b2
midhir has joined #ruby-lang
Iskarlar has joined #ruby-lang
AmirolAhmad has joined #ruby-lang
<apeiros> chinmay_dd_: `continue` is not ruby
<apeiros> did you mean `next`?
<chinmay_dd_> apeiros, oh god! Thanks a lot :) That may be it
<apeiros> chinmay_dd_: also do not chain bang methods
<apeiros> most core bang methods return nil if there was no change
Vraw has joined #ruby-lang
<chinmay_dd_> apeiros, oh okay. Thanks !
AmirolAh_ has joined #ruby-lang
Narzew has quit [Ping timeout: 260 seconds]
AmirolAhmad has quit [Ping timeout: 244 seconds]
beawesomeinstead has quit [Ping timeout: 244 seconds]
akahn has quit [Ping timeout: 272 seconds]
allolex___ has quit [Ping timeout: 244 seconds]
jlpeters has quit [Ping timeout: 244 seconds]
bcardarella_ has quit [Ping timeout: 244 seconds]
Stichoza has joined #ruby-lang
wizonesolutions has quit [Ping timeout: 260 seconds]
chancancode has quit [Ping timeout: 244 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
ramblinpeck_ has quit [Ping timeout: 258 seconds]
nomadicoder has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: zzz]
Vraw has quit [Quit: Page closed]
charliesome has joined #ruby-lang
avdi has quit [Ping timeout: 240 seconds]
avdi has joined #ruby-lang
imperator has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest85414______ has quit [Ping timeout: 260 seconds]
dagda1 has joined #ruby-lang
jxie has joined #ruby-lang
chussenot has quit [Quit: chussenot]
dagda1 has quit [Ping timeout: 250 seconds]
ta has joined #ruby-lang
Bwild has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
ta has quit [Ping timeout: 260 seconds]
gix has quit [Ping timeout: 250 seconds]
AmirolAh_ has left #ruby-lang [#ruby-lang]
AmirolAh_ has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
gix has joined #ruby-lang
blueness has quit [Quit: Leaving]
midhir has quit [Remote host closed the connection]
badelat has joined #ruby-lang
seewhyaneyesee has joined #ruby-lang
badelat has quit [Ping timeout: 252 seconds]
danijoo has quit [Read error: Connection reset by peer]
midhir has joined #ruby-lang
danijoo has joined #ruby-lang
<seewhyaneyesee> Hi can someone help me with threading?
midhir_ has joined #ruby-lang
<imperator> ABANDON ALL HOPE
<imperator> but, go ahead and paste your issue, you never know
oleo__ has quit [Quit: Verlassend]
<seewhyaneyesee> Sorry for late reply, it's dinner time here.
<seewhyaneyesee> I'm trying to create a clock on a cmd shell and at the same time I'm trying to do other things which requires printing output but when I do it clock runs mad
bcardarella_ has joined #ruby-lang
spetryk has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
<seewhyaneyesee> hello?
akahn has joined #ruby-lang
imperator has left #ruby-lang ["Leaving"]
imperator has quit [Quit: Leaving]
JohnBat26 has joined #ruby-lang
JohnBat26 has joined #ruby-lang
spetryk has quit [Ping timeout: 264 seconds]
stomar has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
sk_0 has quit [Quit: leaving]
seewhyaneyesee has quit [Quit: Page closed]
Guest85414______ has joined #ruby-lang
chinmay_dd_ has quit [Quit: Leaving]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chancancode has joined #ruby-lang
kiyote23 has joined #ruby-lang
dagda1 has quit [Ping timeout: 256 seconds]
dagda1 has joined #ruby-lang
<[spoiler]> What do you mean it runs mad?
stardiviner has joined #ruby-lang
<[spoiler]> Does it grab an axe, starts to yell "oy, gimme your headers! I'm hungry" and chases after application sources?
red_menace has joined #ruby-lang
iamninja has joined #ruby-lang
<apeiros> [spoiler]: they're gone
nomadicoder has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jlpeters has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
<[spoiler]> o
Narzew has joined #ruby-lang
lacrosse__ has joined #ruby-lang
wizonesolutions has joined #ruby-lang
stomar has left #ruby-lang [#ruby-lang]
stardiviner has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby-lang
Shoffner____ has joined #ruby-lang
benlakey_ has joined #ruby-lang
efgh_ has joined #ruby-lang
th2389_____ has joined #ruby-lang
symm- has quit [Quit: Leaving...]
ramblinpeck_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
paulog__ has joined #ruby-lang
allolex___ has joined #ruby-lang
daguar has joined #ruby-lang
SkramX_ has joined #ruby-lang
charliesome has quit [Quit: zzz]
postmodern has quit [Quit: Leaving]
arooni-mobile has joined #ruby-lang
badelat has joined #ruby-lang
eristic_ has joined #ruby-lang
enebo has joined #ruby-lang
sirpeng has quit [K-Lined]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GBrawl has quit [Quit: (null)]
ikrima has quit [Ping timeout: 252 seconds]
midhir has quit [Remote host closed the connection]
oleo has joined #ruby-lang
dwknoxy has joined #ruby-lang
stardiviner has joined #ruby-lang
midhir has joined #ruby-lang
dagda1 has joined #ruby-lang
jimbach has joined #ruby-lang
yfeldblum has joined #ruby-lang
dagda1 has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
dagda1 has joined #ruby-lang
houhoulis has joined #ruby-lang
midhir has quit [Remote host closed the connection]
Stichoza has quit [Quit: Be back later ...]
danijoo has quit [Read error: No route to host]
danijoo has joined #ruby-lang
simi has joined #ruby-lang
midhir has joined #ruby-lang
Stichoza has joined #ruby-lang
jg_ has quit [Ping timeout: 272 seconds]
skarn has quit [Ping timeout: 258 seconds]
badelat has quit [Remote host closed the connection]
efghi has joined #ruby-lang
Narzew has quit [Remote host closed the connection]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Stichoza has quit [Quit: Be back later ...]
efgh_ has quit [Quit: Konversation terminated!]
<nofxx__> Which is 'the moment' fw for ios/android? From someone played only with ruboto?
stardiviner has quit [Ping timeout: 264 seconds]
dagda1 has joined #ruby-lang
nathanstitt has joined #ruby-lang
fingerco has joined #ruby-lang
<fingerco> Hello, I'm working with a PHP project and using Traits as a sort of stand-in for Multiple Inheritance. I have stumbled into what I consider to be a major downside. I was wondering if Ruby had any methods in place to directly solve this issue.
GBrawl has joined #ruby-lang
<fingerco> I would like to create Methods and Properties in a Module that will remain hidden from any classes that extend or include that Module. I would like to do this for implementation details so that they are not accidentally overwritten by other modules that may be included or extended by a class
<fingerco> So I would like "private" methods and properties that remain "private" even to the class that includes them
<nofxx__> fingerco, check out Mixins, ruby uses single inheritance. And yes, you can have private/protected methods on your mixings.
<whitequark> they won't be hidden though
<whitequark> no, you can't do that in ruby.
arooni-mobile has quit [Ping timeout: 250 seconds]
<fingerco> nofxx__, that doesn't seem to be true: http://repl.it/5pz
<lapide_viridi> Does anyone remember a comic strip where someone drops their table and it disappears? Can't find it anymore.
havenwood has joined #ruby-lang
<fingerco> Hmm, ok. Thank you whitequark. Would you say that there's any alternative way of doing this that would be preferable or is it just not a feature yet?
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<whitequark> you can't have a method that can be called on self and also can't be overwritten
<whitequark> you *can* execute a method from some other module on self using some metaprogramming tricks
diegoviola has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
<whitequark> i.e. OtherModule.method(:whatever).unbind.bind(self).call(...)
<whitequark> although this is not idiomatic to ruby.
houhouli_ has joined #ruby-lang
dagda1 has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
GBrawl has quit [Read error: Connection reset by peer]
fuhgeddaboudit has joined #ruby-lang
micechal has quit [Remote host closed the connection]
diegovio1 has joined #ruby-lang
diegoviola has quit [Ping timeout: 245 seconds]
diegovio1 is now known as diegoviola
micechal has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elastik has joined #ruby-lang
matp_ has quit [Remote host closed the connection]
senor_jalapeno has joined #ruby-lang
Mothore____ has joined #ruby-lang
matp has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
paulog__ has quit [Quit: Connection closed for inactivity]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
allomov has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
Mothore____ has quit [Ping timeout: 245 seconds]
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
dagda1 has joined #ruby-lang
jkad1 has joined #ruby-lang
houhouli_ has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
ta has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
jimbach has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
ta has quit [Ping timeout: 244 seconds]
Mothore____ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimbach has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
dagda1 has joined #ruby-lang
micechal has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
jimbach has quit [Remote host closed the connection]
centrx has joined #ruby-lang
fusillicode has quit [Ping timeout: 255 seconds]
jimbach has joined #ruby-lang
klmlfl has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
kiyote23 has quit [Ping timeout: 256 seconds]
<fingerco> whitequark, are there any idioms or design practices that you know of that that sort of method/property designation would violate?
<fingerco> (Say if it were implemented with the non-idiomatic code hidden from the rest of the program)
efghi has quit [Quit: Konversation terminated!]
efghi has joined #ruby-lang
<whitequark> this is not an idiom that is used in Ruby
clamstar has joined #ruby-lang
<whitequark> so, at least, this code will be very unexpected to anyone working with it
clamstar has quit [Client Quit]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
clamstar has joined #ruby-lang
elia has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
fedexo has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
houhoulis has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
houhoulis has quit [Remote host closed the connection]
Manchotix has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
iamninja has quit [Quit: ZZZzzz…]
mattyohe has joined #ruby-lang
st0mar has joined #ruby-lang
efghi has left #ruby-lang ["Konversation terminated!"]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
nofxx__ has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
midhir has quit [Remote host closed the connection]
GBrawl has joined #ruby-lang
midhir has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
GBrawl has quit [Quit: (null)]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
Mothore_____ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
andrewvos has left #ruby-lang ["WeeChat 0.4.2"]
banister has quit [Max SendQ exceeded]
Mothore____ has quit [Ping timeout: 245 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
t7y9r has quit [Ping timeout: 258 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
t3h_j4n170r has quit [Ping timeout: 244 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
|jemc| has joined #ruby-lang
jimbach has joined #ruby-lang
iamninja has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
enebo has joined #ruby-lang
yfeldblum has joined #ruby-lang
jimbach has quit [Ping timeout: 250 seconds]
t3h_j4n170r has joined #ruby-lang
yfeldblum has quit [Ping timeout: 244 seconds]
elia has joined #ruby-lang
t7y9r has joined #ruby-lang
oak1 has joined #ruby-lang
nathanstitt has joined #ruby-lang
arooni-mobile has joined #ruby-lang
oak1 has quit [Ping timeout: 245 seconds]
chussenot has joined #ruby-lang
Railsnewbie has joined #ruby-lang
hahuang62 has joined #ruby-lang
nofxx__ has joined #ruby-lang
hahuang62 has quit [Client Quit]
araujo has quit [Quit: Leaving]
arBmind has quit [Quit: Leaving.]
AmirolAh_ has quit []
Manorie_x has joined #ruby-lang
enebo has quit [Quit: enebo]
arooni-mobile has quit [Ping timeout: 252 seconds]
elia has quit [Quit: Computer has gone to sleep.]
st0mar has quit [Ping timeout: 244 seconds]
nofxx__ has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
yfeldblum has joined #ruby-lang
st0mar has joined #ruby-lang
chussenot has quit [Quit: chussenot]
yfeldblum has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
kiyote23 has quit [Remote host closed the connection]
robert_j_p has joined #ruby-lang
kiyote23 has joined #ruby-lang
GBrawl has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
mistym has joined #ruby-lang
kiyote23 has quit [Ping timeout: 252 seconds]
senor_jalapeno has quit [Ping timeout: 265 seconds]
kiyote23 has joined #ruby-lang
__JokerDoom has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
fusillicode has joined #ruby-lang
rcvalle has joined #ruby-lang
kiyote23 has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
_JokerDoom has quit [Ping timeout: 245 seconds]
chinmay_dd has quit [Quit: Leaving]
ur5us has joined #ruby-lang
kiyote23 has quit [Ping timeout: 245 seconds]
jkad1 has quit [Quit: WeeChat 1.0.1]
kiyote23 has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
lapide_viridi has quit [Quit: Leaving]
x-light has joined #ruby-lang
arBmind has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GBrawl has quit [Quit: (null)]
nathanstitt has joined #ruby-lang
robert_j_p has quit [Quit: Page closed]
fclausen has joined #ruby-lang
Railsnewbie has quit [Ping timeout: 246 seconds]
dagda1 has joined #ruby-lang
benanne has joined #ruby-lang
fuhgeddaboudit has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
jimbach has quit [Ping timeout: 272 seconds]
jkad1 has joined #ruby-lang
st0mar has quit [Ping timeout: 250 seconds]
klmlfl has joined #ruby-lang
araujo has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
jimbach has joined #ruby-lang
DivineEntity has quit [Quit: Lost terminal]
jimbach has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby-lang
allomov has joined #ruby-lang
jimbach has quit [Ping timeout: 245 seconds]
st0mar has joined #ruby-lang
badelat has joined #ruby-lang
matp_ has joined #ruby-lang
toretore has joined #ruby-lang
DivineEntity has joined #ruby-lang
kiyote23 has joined #ruby-lang
matp has quit [Ping timeout: 250 seconds]
rbowlby has joined #ruby-lang
fingerco has quit [Ping timeout: 246 seconds]
matp has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
elia has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
badelat has quit []
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
spastorino_ has joined #ruby-lang
matp_ has quit [Ping timeout: 240 seconds]
Missphoenix has joined #ruby-lang
kiyote23 has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
* simi wondering what miniruby is
Miphix has quit [Ping timeout: 258 seconds]
ta has joined #ruby-lang
jg_ has joined #ruby-lang
__JokerDoom has quit [Ping timeout: 264 seconds]
Stichoza has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
Stichoza has quit [Quit: Be back later ...]
Stichoza has joined #ruby-lang
ta has quit [Remote host closed the connection]
ta has joined #ruby-lang
kiyote23 has joined #ruby-lang
tkuchiki has joined #ruby-lang
JokerDoom has joined #ruby-lang
spastorino_ is now known as spastorino
allomov has quit [Remote host closed the connection]
gix has quit [Ping timeout: 252 seconds]
kiyote23 has quit [Remote host closed the connection]
st0mar has quit [Quit: quit]
gix has joined #ruby-lang
momomomomo has joined #ruby-lang
JokerDoom has quit [Ping timeout: 245 seconds]
senor_jalapeno has joined #ruby-lang
usershell has joined #ruby-lang
lcdhoffman has joined #ruby-lang
Manchotix has quit [Quit: Verlassend]
JokerDoom has joined #ruby-lang
Artemitch has quit [Quit: Be back later ...]
<ReinH> simi: sounds like something google could help you with...
<simi> yup, I found already
yourabi has joined #ruby-lang
benanne has quit [Quit: kbai]
nofxx has joined #ruby-lang
ta has quit [Remote host closed the connection]
_JokerDoom has joined #ruby-lang
cornerma1 has joined #ruby-lang
Mothore_____ has quit [Quit: Be back later ...]
usershell has quit [Remote host closed the connection]
JokerDoom has quit [Ping timeout: 265 seconds]
jg_ has quit [Ping timeout: 264 seconds]
cornerman has quit [Ping timeout: 258 seconds]
cornerma1 is now known as cornerman
momomomomo has quit [Quit: momomomomo]
JokerDoom has joined #ruby-lang
charliesome has joined #ruby-lang
_JokerDoom has quit [Ping timeout: 265 seconds]
Mothore_____ has joined #ruby-lang
JokerDoom has quit [Ping timeout: 265 seconds]
ta has joined #ruby-lang
JokerDoom has joined #ruby-lang
workmad3 has joined #ruby-lang
Mothore_____ has quit [Quit: Be back later ...]
kiyote23 has joined #ruby-lang
GBrawl has joined #ruby-lang
jimbach has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
nisstyre has joined #ruby-lang
nisstyre has quit [Changing host]
marr has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest32365
charliesome has quit [Quit: zzz]
_JokerDoom has joined #ruby-lang
charliesome has joined #ruby-lang
Guest32365 has quit [Ping timeout: 244 seconds]
devgiant has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
workmad3 has quit [Ping timeout: 258 seconds]
__JokerDoom has joined #ruby-lang
JokerDoom has quit [Ping timeout: 244 seconds]
JokerDoom has joined #ruby-lang
_JokerDoom has quit [Ping timeout: 255 seconds]
arooni-mobile has joined #ruby-lang
__JokerDoom has quit [Ping timeout: 244 seconds]
_JokerDoom has joined #ruby-lang
kiyote23 has quit [Remote host closed the connection]
Mothore_____ has joined #ruby-lang
ta_ has joined #ruby-lang
__JokerDoom has joined #ruby-lang
ta has quit [Ping timeout: 260 seconds]
JokerDoom has quit [Ping timeout: 265 seconds]
__JokerDoom has quit [Read error: Connection reset by peer]
__JokerDoom has joined #ruby-lang
_JokerDoom has quit [Ping timeout: 264 seconds]
Manorie_x has quit [Quit: Leaving]
klmlfl has joined #ruby-lang
ta has joined #ruby-lang
ta_ has quit [Ping timeout: 260 seconds]
Artemitch has joined #ruby-lang
klmlfl has quit [Ping timeout: 255 seconds]
Artemitch has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby-lang
araujo has quit [Quit: Leaving]
JokerDoom has joined #ruby-lang
__JokerDoom has quit [Ping timeout: 260 seconds]
usershell has joined #ruby-lang
AwesomeRuski has joined #ruby-lang
<AwesomeRuski> Is this IRC chat appropriate to ask questions about how to write ruby regexes?
klmlfl has joined #ruby-lang
<womble> Sure.
<AwesomeRuski> good to hear, I am trying to create a regex that does two things: makes sure that the first string is a letter, and that the rest of the string only consists of alphanumeric characters
<AwesomeRuski> I am not exactly sure how to combine the two conditions
usershell has quit [Ping timeout: 250 seconds]
<womble> Do you mean first string, or first character?
<bnagy> AwesomeRuski: rubular.com
<AwesomeRuski> The first character, sorry
<bnagy> play around as you learn, real-time feedback
<bnagy> there's not much 'ruby' about ruby regexes, you can also use any regex resource to learn more
Iskarlar has joined #ruby-lang
<womble> AwesomeRuski: Combining two "pieces" of a regex is just a matter of putting them next to each other.
<centrx> abcdefg
momomomomo has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
JokerDoom has quit [Ping timeout: 244 seconds]
<AwesomeRuski> thank you
<AwesomeRuski> I'm using rubular
<AwesomeRuski> but it still is kind of confusing
<womble> Welcome to regexes
<AwesomeRuski> hehe that's for sure
<womble> If it helps, the pieces you'll need are ^, $, + (or *), [A-Za-z], and [A-Za-z0-9]
<womble> Combine to taste.
JokerDoom has joined #ruby-lang
<AwesomeRuski> can't 0-9 just be \d?
<womble> It can, if you like that kind of thing.
<AwesomeRuski> thanks bnagy and womble
<bnagy> no love fo ::alnum::
<AwesomeRuski> hopefully I can get this final project done
<AwesomeRuski> :::alnum::?
<womble> bnagy: The number of people I've come across who don't know what [::alnum::] (and even \d, \w, etc) are is astounding
<womble> That's why I keep it simple and readable with explicit ranges
<womble> Also, the answer to the question "what *is* a word-like character?" isn't as simple as one might naively imagine
<AwesomeRuski> what does word-like even mean?
<bnagy> >> /[[:alnum:]]+/.match '35'
<eval-in__> bnagy => #<MatchData "35"> (https://eval.in/231797)
<womble> Then some clever bugger uses \h and *everyone* starts scratching their heads
<bnagy> AwesomeRuski: fwiw, try to avoid using regex at all costs ( although not _always_ possible )
<bnagy> other than that, the trick to regex is understanding anchors
<womble> AwesomeRuski: It means any letter, number, *or underscore*
<AwesomeRuski> I wish I could do that
<AwesomeRuski> womble: i see
<AwesomeRuski> unfortunately I'm setting a requirement for allowed characters for usernames
postmodern has joined #ruby-lang
<womble> But plenty of people see "word character" and think "oh, that's just upper and lower-case letters", and then even when they grok that it also means digits, they still get caught out by the underscore.
<bnagy> oh god
<AwesomeRuski> oh and quick question, my online ircclient stopped autoscrolling, how do i switch it back on?
jxie has quit [Quit: leaving]
Mothore_____ has quit [Quit: Be back later ...]
GBrawl has quit [Quit: (null)]
JokerDoom has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 272 seconds]