havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-rc1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
hutch has quit [Ping timeout: 268 seconds]
gix has quit [Ping timeout: 268 seconds]
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
bijan_ has quit [Ping timeout: 252 seconds]
smhuber has quit [Ping timeout: 240 seconds]
RougeR has quit [Ping timeout: 250 seconds]
hutch has joined #ruby
bijan_ has joined #ruby
venmx has quit [Ping timeout: 268 seconds]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
d10n-work has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
bijan_ has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Quit: bye]
bijan_ has quit [Ping timeout: 252 seconds]
Koshian has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
coderphive has quit [Ping timeout: 272 seconds]
coderphive has joined #ruby
eckhardt_ has joined #ruby
bijan_ has joined #ruby
dviola has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
DarthGandalf has quit [Quit: Bye]
jenrzzz has joined #ruby
bak1an has joined #ruby
cloaked1 has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 240 seconds]
bijan_ has joined #ruby
quipa has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
carbone5 has joined #ruby
jenrzzz has joined #ruby
cthulchu has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
carbone5 has quit [Quit: carbone5]
bijan__ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
<cthulchu> folks, can I do... a = {"qwe"=>{"a"=>1}}?
<cthulchu> put a hash into a hash
bijan__ has quit [Ping timeout: 252 seconds]
<cthulchu> essentially, do they have the same structure as json?
carbone5 has joined #ruby
carbone5 has quit [Client Quit]
bijan_ has joined #ruby
smhuber has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
<smhuber> tldr; -9.pipe { abs | Math.sqrt | to_i } #=> 3
<smhuber> url.pipe { URI.parse | Net::HTTP.get | JSON.parse }
AJA4350 has quit [Quit: AJA4350]
bijan_ has joined #ruby
<smhuber> [9, 64].map(&Math.|.sqrt) #=> [3.0, 8.0]
<smhuber> [9, 64].map(&Math.|.sqrt.to_i.to_s) #=> ["3", "8"]
<cthulchu> what are you doing?
<smhuber> giving more context to my question above ^
<smhuber> if there's actually interest in something like that then I'll invest more time and port to C as a real feature request for Ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
nakuku has quit [Remote host closed the connection]
carbone5 has joined #ruby
bijan__ has quit [Ping timeout: 260 seconds]
<al2o3-cr> smhuber: convince matz.
eckhardt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Fr4n has joined #ruby
cthulchu has quit [Quit: Leaving]
cthulchu has joined #ruby
bijan_ has joined #ruby
<baweaver> Considering how it conflicts with the regular pipe operator it probably won't happen. I know your code doesn't strictly touch it but that still overloads the operator which they're pretty touchy on
<smhuber> al2o3-cr attempting to here! https://bugs.ruby-lang.org/issues/13581#note-58
<smhuber> baweaver true although that's just an alias for syntactic sugar, the real method is __pipe__. I was curious and did take a look at the existing `|` definitions in the stdlib, looks like there's 10 and all of them expect an argument to be passed to it https://gist.github.com/shuber/b4d0a10c272d36f6b482ffd491e4cfba
bijan_ has quit [Ping timeout: 252 seconds]
cnsvc_ has quit [Ping timeout: 256 seconds]
<al2o3-cr> smhuber: personally i don't like the syntax.
<smhuber> does it feel confusing? too abstract?
cthulchu has quit [Ping timeout: 268 seconds]
<al2o3-cr> it's not confusing, just nah
carbone5 has quit [Quit: carbone5]
bijan_ has joined #ruby
<al2o3-cr> that's me though, others might agree.
<smhuber> ah ok gotcha - do you like the new proc composition and method reference operators that were proposed? the `<<` and `>>` and `map(&Method.:sqrt)`?
carbone5 has joined #ruby
kapil____ has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
<al2o3-cr> smhuber: me personally, no.
sriehl has quit [Quit: ZNC 1.7.1 - https://znc.in]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
bijan_ has quit [Ping timeout: 252 seconds]
Freshnuts has quit [Quit: Leaving]
<smhuber> al2o3-cr gotcha yea they always look a little strange at first but then end up growing on me lol, thanks for your feedback, much appreciated!
hutch has quit [Ping timeout: 240 seconds]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bijan_ has joined #ruby
<al2o3-cr> smhuber: ruby should be simple, the way it was designed.
bijan_ has quit [Ping timeout: 252 seconds]
uplime has joined #ruby
Fr4n has quit [Remote host closed the connection]
hutch has joined #ruby
<smhuber> al2o3-cr maybe it was designed to be more "expressive" then "simple"? from https://www.ruby-lang.org/en/about/ - He [Matz] has often said that he is "trying to make Ruby natural, not simple," in a way that mirrors life. Building on this, he adds: Ruby is simple in appearance, but is very complex inside, just like our human body.
cnsvc_ has joined #ruby
<al2o3-cr> smhuber: ok, so... foo | bar | baz is more expressive?
<smhuber> more natural in english - read left to right, no other visual noise like parens and temporary vars
<smhuber> check out what matz was exploring with https://github.com/matz/streem
<al2o3-cr> well i *don't* like it!
<al2o3-cr> smhuber: believe me i've seen it.
<smhuber> nice lol yea it's been around awhile :P - alrighty cool thanks again for the feedback!
<al2o3-cr> smhuber: why would you want this?
cliluw has quit [Read error: Connection reset by peer]
uplime is now known as nchambers
<al2o3-cr> smhuber: seriously?
cliluw has joined #ruby
<smhuber> al2o3-cr Oh lol I only made this just to prove it could be done - I got tired of reading comments like "Due to that any normal method call will be instantly evaluated so there is no way we will get syntax as nice as Elixir's pipe operator...". But once it was all said and done I thought the syntax felt pretty natural/elegant/concise and could possi
<smhuber> bly be a good fit as a core Ruby feature like it has been for many other languages
<smhuber> al2o3-cr my curiosity is completely satisfied - but if there is any interest in making this a real feature then I'll fork Ruby and put in the work, otherwise no big deal to me :P
<al2o3-cr> smhuber: go ahead, don't go just on my opinion. =)
bijan_ has joined #ruby
<al2o3-cr> smhuber: i didn't like streems aproach tbh.
bijan_ has quit [Ping timeout: 252 seconds]
<al2o3-cr> and guilds...is a complex matter.
bijan_ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
s3nd1v0g1us has quit [Read error: Connection reset by peer]
crankharder has joined #ruby
PaulePanter has quit [Ping timeout: 244 seconds]
<smhuber> al2o3-cr - agreed - I didn't really like the idea of having to stream _all the time_ like that! I like Ruby style OOP method chaining - it already reads left to right which is very natural.
<smhuber> al2o3-cr The pipe syntax just feels handy when you need to call out to methods on other objects in chains like that - which in a world where things like decorators, presenters, and dependency inversion principles are popular - can happen pretty regularly
<al2o3-cr> smhuber: why spoil a good story by telling the truth?
paranoicsan has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
bijan_ has joined #ruby
Puffball has quit [Remote host closed the connection]
bambanxx has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
StarLord__ has quit [Ping timeout: 246 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
jokke has quit [Ping timeout: 272 seconds]
tag has quit [Quit: Connection closed for inactivity]
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
hutch has quit [Ping timeout: 245 seconds]
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
arescorpio has joined #ruby
hutch has joined #ruby
jhass has quit [Ping timeout: 250 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has joined #ruby
universal has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
biberao has quit [Ping timeout: 246 seconds]
dbz has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
bijan__ has quit [Read error: Connection reset by peer]
jhass has joined #ruby
jokke has joined #ruby
universa1 has joined #ruby
Fusl has quit [Ping timeout: 256 seconds]
braincrash has quit [Quit: bye bye]
Fusl has joined #ruby
horst_ has quit [Ping timeout: 240 seconds]
carbone5 has quit [Quit: carbone5]
braincrash has joined #ruby
horst has joined #ruby
carbone5 has joined #ruby
tag has joined #ruby
bambanxx has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 260 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
sauvin has joined #ruby
Exuma has joined #ruby
carbone5 has quit [Quit: carbone5]
bijan_ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
marz_d`ghostman has joined #ruby
<marz_d`ghostman> Is it possible in ruby to add an attribute to OpenStruct in rspec without retaining it like only inside a context scope? https://gist.github.com/marzdgzmn/47f733d18bb8da5feac2c5db89f200ea
paranoicsan has quit [Ping timeout: 272 seconds]
bijan_ has joined #ruby
\void has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
hutch has quit [Ping timeout: 272 seconds]
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marz_d`ghostman> smhuber: thanks. Is there any blocks I can put an `allow` statement to be shared with multiple `it`s?
Exuma has joined #ruby
<smhuber> marz_d`ghostman should be able to put those in `before` blocks as well
<marz_d`ghostman> smhuber: so before blocks are local within context blocks eh?
dbz has quit [Read error: Connection reset by peer]
weaksauce has quit [Read error: Connection reset by peer]
dbz has joined #ruby
segy has quit [Excess Flood]
akosednar has quit [Ping timeout: 250 seconds]
smhuber has quit [Quit: Ping timeout (120 seconds)]
thunderbirdtr has quit [Quit: ZNC 1.7.1 - https://znc.in]
thunderbirdtr has joined #ruby
smhuber has joined #ruby
Exuma has quit [Client Quit]
akosednar has joined #ruby
segy has joined #ruby
<smhuber> marz_d`ghostman they're only evaluated when running an "it" block that lives inside that context. there's different scopes though - ":all" vs ":each" vs ":suite" - there's more details/examples in https://relishapp.com/rspec/rspec-core/v/2-2/docs/hooks/before-and-after-hooks
yasserhussain111 has joined #ruby
lunarkitty7 has quit [Ping timeout: 260 seconds]
dbz has quit [Remote host closed the connection]
hutch has joined #ruby
bijan_ has joined #ruby
<marz_d`ghostman> smhuber: Is there a book or a resource somewhere I can read to about these things? I didn't seem to ready any of it online
houhoulis has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
<smhuber> marz_d`ghostman sure there's probably a bunch of books out there, I've definitely seen some on amazon. I think their online documentation has good examples though, I'd recommend just browsing thru that to get a nice overview of all the things it's capable of
jenrzzz has joined #ruby
<marz_d`ghostman> smhuber: okay thanks mate. I appreciate it :)
<smhuber> marz_d`ghostman happy to help!
hutch has quit [Ping timeout: 240 seconds]
bijan_ has joined #ruby
bijan__ has quit [Ping timeout: 268 seconds]
Inline has quit [Quit: Leaving]
kapil____ has quit [Quit: Connection closed for inactivity]
bijan__ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
cnsvc_ has joined #ruby
paranoicsan has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
arescorpio has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
bijan_ has joined #ruby
lunarkitty7 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
moei has quit [Quit: Leaving...]
bijan_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
uplime has joined #ruby
uplime has quit [Client Quit]
nchambers has quit [Ping timeout: 244 seconds]
bijan_ has joined #ruby
houhoulis has quit [Remote host closed the connection]
<baweaver> Going to start going through the other videos soon
jenrzzz has quit [Ping timeout: 250 seconds]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
aupadhye has joined #ruby
bijan_ has joined #ruby
Cthulu201 has quit [Read error: Connection reset by peer]
Cthulu201 has joined #ruby
bijan__ has joined #ruby
jenrzzz has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan__ has quit [Read error: Connection reset by peer]
conta has joined #ruby
bijan_ has joined #ruby
yasserhussain111 has quit [Ping timeout: 272 seconds]
bijan_ has quit [Ping timeout: 252 seconds]
themsay has quit [Ping timeout: 268 seconds]
bijan_ has joined #ruby
DarthGandalf has joined #ruby
maufart__ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan_ has joined #ruby
tag has quit [Quit: Connection closed for inactivity]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
reber has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
paranoicsan is now known as paranoicsan[Away
cnsvc_ has quit [Ping timeout: 256 seconds]
paranoicsan[Away is now known as paranoicsan
bijan_ has quit [Ping timeout: 252 seconds]
maufart__ has quit [Ping timeout: 250 seconds]
reber has quit [Remote host closed the connection]
bijan_ has joined #ruby
cnsvc_ has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
bijan_ has joined #ruby
sonofentropy has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 260 seconds]
bijan__ has quit [Ping timeout: 252 seconds]
PaulePanter has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
bijan_ has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
marz_d`ghostman has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
dviola has quit [Quit: WeeChat 2.3]
armyriad has joined #ruby
bijan_ has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
bijan__ has joined #ruby
bijan_ has quit [Ping timeout: 264 seconds]
pbodev1 has quit [Read error: Connection reset by peer]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
bijan_ has joined #ruby
bijan__ has quit [Ping timeout: 252 seconds]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
neuraload has joined #ruby
bijan_ has quit [Ping timeout: 268 seconds]
roshanavand has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
bijan_ has joined #ruby
pbodev1 has joined #ruby
pbodev1 has quit [Excess Flood]
jenrzzz has joined #ruby
bijan_ has quit [Ping timeout: 252 seconds]
clemens3 has joined #ruby
bijan_ has joined #ruby
yasserhussain111 has joined #ruby
yasserhussain111 has left #ruby [#ruby]
cnsvc_ has joined #ruby
bijan__ has joined #ruby
bijan_ has quit [Read error: Connection reset by peer]
bijan__ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
Renich has quit [Quit: Renich]
Renich has joined #ruby
Renich has quit [Remote host closed the connection]
Renich has joined #ruby
cnsvc_ has quit [Remote host closed the connection]
nickjj has quit [Read error: Connection reset by peer]
cd has quit [Quit: cd]
jsc has joined #ruby
jsc is now known as status402
cnsvc_ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
cnsvc_ has quit [Remote host closed the connection]
Burgestrand has joined #ruby
cnsvc_ has joined #ruby
cheeti has joined #ruby
<cheeti> in c before calling fprintf need to check fopen success
Renich has quit [Quit: Renich]
cnsvc_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
cnsvc_ has joined #ruby
Mike11 has joined #ruby
roshanavand has quit [Quit: Gone planting!]
powerbit has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
ellcs has joined #ruby
jmcgnh has joined #ruby
<al2o3-cr> cheeti: ?
jenrzzz has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
cnsvc_ has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
yasserhussain111 has joined #ruby
yasserhussain111 has quit [Quit: Leaving.]
yasserhussain111 has joined #ruby
yasserhussain111 has left #ruby [#ruby]
ur5us has joined #ruby
yasserhussain111 has joined #ruby
yasserhussain111 has quit [Client Quit]
neuraload has quit [Quit: This computer has gone to sleep]
za1b1tsu has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
dbz has joined #ruby
jenrzzz has joined #ruby
dbz has quit [Ping timeout: 240 seconds]
paranoicsan has quit [Quit: paranoicsan]
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
neuraload has joined #ruby
smhuber has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
yasserhussain111 has joined #ruby
yasserhussain111 has quit [Client Quit]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
gregf_ has joined #ruby
cnsvc_ has joined #ruby
Guest61854 has joined #ruby
adlerdias has joined #ruby
dhollin3 has joined #ruby
AJA4350 has joined #ruby
dhollinger has quit [Ping timeout: 268 seconds]
ur5us has quit [Remote host closed the connection]
jenrzzz has joined #ruby
shangul has joined #ruby
adlerdias has quit [Quit: adlerdias]
shangul has quit [Quit: sudo rm -rf /usr/*]
cnsvc_ has quit [Ping timeout: 256 seconds]
ElFerna has joined #ruby
cheeti has quit [Ping timeout: 256 seconds]
moei has joined #ruby
keden has joined #ruby
lucasb has joined #ruby
dmitch has quit [Quit: Textual IRC Client: www.textualapp.com]
gheegh has joined #ruby
phaul has joined #ruby
ElFerna has quit [Quit: WeeChat 1.4]
Mike11 has quit [Quit: Leaving.]
DTZUZO has joined #ruby
brandonkal has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
conta has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
dbz has joined #ruby
cnsvc_ has joined #ruby
kapil____ has joined #ruby
dbz has quit [Ping timeout: 268 seconds]
ElFerna has joined #ruby
marz_d`ghostman has joined #ruby
ua has joined #ruby
<marz_d`ghostman> How do I temporarily override a variable inside a context? It seems that the `before` statement on line 98 is overriding the statement and making the succeeding tests fail as it should have the value 'true' when getting out of that context: https://gist.github.com/marzdgzmn/fe94064b777c084aa4ef0284f0a46290
clemens3 has quit [Ping timeout: 250 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
ElFerna has quit [Ping timeout: 250 seconds]
maufart__ has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
conta has joined #ruby
maufart__ has quit [Ping timeout: 245 seconds]
neuraload has quit [Quit: This computer has gone to sleep]
<jhass> marz_d`ghostman: it seems you're still confused as to when code inside a context/describe block vs when code inside a before/it/let block is run
<jhass> I suggest you think about and review that
neuraload has joined #ruby
<jhass> try with a blank spec file and putting puts statement to confirm the order of execution that you think there is
raulp has quit [Ping timeout: 272 seconds]
neuraload has quit [Client Quit]
neuraload has joined #ruby
neuraload has quit [Client Quit]
neuraload has joined #ruby
neuraload has quit [Client Quit]
neuraload has joined #ruby
neuraload has quit [Client Quit]
paranoicsan has joined #ruby
neuraload has joined #ruby
<marz_d`ghostman> jhass: I understand before statements on the outer context gets executed first before the before statements in an inner context. However, is there like a mechanism where the overriding variable will be local to the inner context like defining a local block variable e.g. ;x?
sonofentropy has quit [Quit: sonofentropy]
<jhass> you could probably do exactly that, but it would be quite confusing to most over just consistently using let
sonofentropy has joined #ruby
sonofentropy has quit [Client Quit]
x0f has quit [Ping timeout: 252 seconds]
sonofentropy has joined #ruby
neuraload has quit [Quit: Leaving]
GodFather has joined #ruby
sonofentropy has quit [Client Quit]
x0f has joined #ruby
<marz_d`ghostman> jhass: Uhhm, so like use let to define a new variable on every context? that was the next step I was thinking to do, just wondering if I can do it with a similar local block variable mechanism. Guess I got into it too deep though hehe
sonofentropy has joined #ruby
<jhass> inner contexts and before blocks there can of course access let definitions of outer ones
<jhass> btw describe and context are technically just aliases, don't worry about differences there
<jhass> another scheme is to use @instance_vars in before blocks, but most people prefer let these days for its cleaner looks and lazy evaluation
ElFerna has joined #ruby
yasserhussain111 has joined #ruby
yasserhussain111 has quit [Client Quit]
ElFerna has quit [Ping timeout: 246 seconds]
<marz_d`ghostman> jhass: So what I've though is to define a base object on the outer most via `let`. Then just extend that object and assign it to another variable via another `let` on inner context to preserve the base object for another inner context to use. Am I doing it right though?
<jhass> there's no general answer to that
nickjj has joined #ruby
<marz_d`ghostman> Okay, guess I'll just do that cause if I modify the variable defined by the outermost let in an inner context it seems to retain the modified value. Which seems to be what should be though now that I think of it :)
jenrzzz has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
<jhass> yes, let's throw away their value after each example
Fusl has quit [Remote host closed the connection]
Fusl has joined #ruby
<marz_d`ghostman> jhass: So it would be something like this: https://gist.github.com/marzdgzmn/a4ecd1abdf985d300147d7d4848feeed?
<jhass> no
jenrzzz has quit [Ping timeout: 250 seconds]
<jhass> you're still confused as to when code inside context/describe vs code inside let/before/it is run
neuraload has joined #ruby
<marz_d`ghostman> jhass: can you give me an example please
maufart__ has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> marz_d`ghostman: ^
jenrzzz has joined #ruby
cnsvc_ has joined #ruby
bak1an has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
gheegh has joined #ruby
keden has quit [Ping timeout: 240 seconds]
maufart__ has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
<marz_d`ghostman> jhass: thanks, kudos to the test. I'm still currently going through it :)
<jhass> great :)
<jhass> oh, useful flag for rspec there might also be -f d
graphene has quit [Remote host closed the connection]
<marz_d`ghostman> jhass: what's --seed 0 or --order rand:123 for?
<jhass> rspec by default randomizes the order in which it runs your example
<jhass> *examples
graphene has joined #ruby
<jhass> -seed gives a deterministic ordering
<marz_d`ghostman> I see
reber has joined #ruby
<marz_d`ghostman> I'm starting to understand it better now. So ruby evaluates the code like in two phases, once for none test-related stuff hence 'ABFJK', then second for the test-related stuff starting with the `before` statement going to the `it` while lazily evaluates any `let` definitions
jenrzzz has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
roshanavand has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
keden has joined #ruby
<jhass> now looking it --order defined is maybe the nicer option here to achieve that :D
jenrzzz has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
<marz_d`ghostman> it still gives the same output though, am just gonna save this code for future reference, really appreciate you clearing me from my confusion mate. thanks
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away has quit [Quit: paranoicsan[Away]
kapil____ has quit [Quit: Connection closed for inactivity]
dmitch has joined #ruby
mostlybadfly has joined #ruby
crankharder has joined #ruby
sonofentropy has quit [Quit: sonofentropy]
jenrzzz has quit [Ping timeout: 272 seconds]
paranoicsan has joined #ruby
jenrzzz has joined #ruby
roshanavand has quit [Ping timeout: 244 seconds]
awkwords has joined #ruby
Puffball has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
kapil____ has joined #ruby
hutch has joined #ruby
cnsvc_ has joined #ruby
rubydoc has quit [Ping timeout: 246 seconds]
phaul has quit [Ping timeout: 250 seconds]
horst has quit [Quit: horst]
Fr4n has joined #ruby
horst_ has joined #ruby
rubydoc has joined #ruby
jenrzzz has joined #ruby
sonofentropy has joined #ruby
phaul has joined #ruby
hutch has quit [Ping timeout: 272 seconds]
cnsvc_ has quit [Ping timeout: 256 seconds]
rippa has joined #ruby
ElFerna has joined #ruby
Guest61854 has quit [Ping timeout: 260 seconds]
paranoicsan is now known as paranoicsan[Away
Guest61854 has joined #ruby
blackswan has quit [Quit: Leaving.]
paranoicsan[Away has quit [Quit: paranoicsan[Away]
anikras has quit [Quit: Ex-Chat]
sonofentropy has quit [Quit: sonofentropy]
paranoicsan has joined #ruby
krawchyk has joined #ruby
hutch has joined #ruby
aupadhye has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away has quit [Quit: paranoicsan[Away]
graphene has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 245 seconds]
neuraload has quit [Quit: This computer has gone to sleep]
neuraload has joined #ruby
graphene has joined #ruby
paranoicsan has joined #ruby
polishdub has joined #ruby
wlan2 has joined #ruby
conta has quit [Ping timeout: 250 seconds]
<wlan2> So I was returning to the koans after some time off them due to work. I find myself stranded in the face of about_scoring_project.rb with a big doubt.
sonofentropy has joined #ruby
<wlan2> Should I restart the koans instead of trying to finish them?
jenrzzz has quit [Ping timeout: 244 seconds]
powerbit has quit [Remote host closed the connection]
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wlan2> I also don't know if there's a better place to ask.
jenrzzz has joined #ruby
<Inside> well
<Inside> I always found the koans a bit of a strange way to approach learning programming
nowhere_man has quit [Ping timeout: 252 seconds]
<Inside> ah
<Inside> these are a bit different than what I was thinking of
<Inside> I guess it depends on what your question is
<Inside> what are you exactly stuck on
Inline has joined #ruby
<Inside> I'm looking at someone's solution for this specific test file and there is nothing language specific in there
<Inside> it's 100% logic
SuperLag has quit [Ping timeout: 272 seconds]
SuperLag has joined #ruby
venmx has joined #ruby
<wlan2> Well I am 100% sure that I can do it with a crapload of if. And also completely sure I don't want to write a crapload of if nor do I want to copy someone else's solution.
sonofentropy has quit [Ping timeout: 250 seconds]
hutch has quit [Ping timeout: 244 seconds]
GodFather has quit [Ping timeout: 246 seconds]
hutch has joined #ruby
<Inside> blah blah green, red, refactor
<wlan2> Well I guess that's true...
<Inside> are you able to pass the first test?
<Inside> what test are you stuck on?
zapata has quit [Read error: Connection reset by peer]
cnsvc_ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
zapata has joined #ruby
<wlan2> koans/about_scoring_project.rb:76:in `test_score_of_a_triple_1_is_1000
status402 has quit [Quit: status402]
conta has joined #ruby
<Inside> do you have a specific question or are you just *stuck*
<Inside> ie: you don't even know how to approach it?
<wlan2> I'm not sure how to approach it. up until now I put a for with a couple if inside.
jenrzzz has joined #ruby
<Inside> Okay so
<Inside> in ruby an array is subclassed from 'enumerable'
<Inside> which has a count function
<Inside> you could write your own count() function, or you could use the built in one
<Inside> One of ruby's greatest features is the HUGE standard library which comes with functions for almost every data manipulation you can think of
<Inside> (unlike say... javascript which basically comes with nothing)
<wlan2> I didn't realize count accepted parameters!
<wlan2> Thank you.
<Inside> it also accepts a block ^_^
<Inside> BRB an hour or so -meeting :|
<phaul> nitpick, for sake of correctness... Enumerable is a module, and Array includes it, not subclasses.
mostlybadfly has quit [Quit: Connection closed for inactivity]
<wlan2> I'm still unsure about what is and isn't a module in ruby.
<phaul> it's a bit nebulous, but if you can give of concrete instance examples that implies class. Usually if there are no instances it's module
<phaul> there is [1,2,3] an Array, so Array has to be class. There is no concrete instance of an Enumerable
<wlan2> Hmn...
<wlan2> Well I'll take this as an iI should make another cup of tea and use that sexy count method (or was it function?)
paranoicsan has quit [Quit: paranoicsan]
<phaul> method. everything is a method including module_function :)
<phaul> &ri module_function
jenrzzz has quit [Ping timeout: 245 seconds]
<wlan2> In case of doubt, everything is a Nyarlatoteph avatar.
Moeh has joined #ruby
wlan2 has quit [Ping timeout: 250 seconds]
<Moeh> Hi! In my ruby app I'd like to create a class called "File" which should not 'override' the default Ruby File class. Is there a way to access the default Ruby File class within my app using something like Ruby::File (which doesn't work). Or inherit from the default Ruby File class using something like "class File < File # inherits from Ruby File class" (which also doesn't work).
neuraload has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
<phaul> First I would put the entire APP in it's own namespace. Then nothing you do collide with anybody elses stuff, including gems, or stdlib
<phaul> then your file would become MyApp::File, while stdlib file is just File.
cnsvc_ has quit [Ping timeout: 256 seconds]
akaiiro has joined #ruby
keden has quit [Quit: WeeChat 2.3]
themsay has joined #ruby
sonofentropy has joined #ruby
conta has quit [Quit: conta]
wlan2 has joined #ruby
<phaul> you can achive this by wrapping all your classes , modules inside module MyApp ... end in all your files
cpruitt has joined #ruby
<phaul> actually.. ::File for Ruby file.
themsay has quit [Ping timeout: 268 seconds]
<phaul> if you are inside MyApp. Moeh , does this make sense?
<Moeh> I am using https://github.com/davetron5000/gli to build a CLI and it looks like it already wraps everything in a "class App" which then loads modules. But it looks like inside of the class definition it'd refer to itself. So in: "module MyModule class File File.basename() end end" File actually refers to itself (and throws a method undefined error). However, when I use "::File" inside it refers to the stdlib and works.
sonofentropy has quit [Ping timeout: 252 seconds]
<Moeh> Yes, thanks, makes sense! I'll use "::File" inside of the class definition and then everything works.
<Moeh> Outside of the class definition the names are correctly scoped, so if I do "File" outside of the definition I get the stdlib File and MyModule::File returns my own class as expected. Perfect, thanks a lot!
<phaul> yw
doubledup has joined #ruby
doubledup has quit [Remote host closed the connection]
wlan2 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
Dbugger has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
smhuber has joined #ruby
dhollin3 is now known as dhollinger
<phaul> Moeh, if you are interested, there are some obscure pitfalls around this, namely the difference between module MyApp; class MyClass; end; end; vs class MyApp::MyClass; end. If you write the latter, and use File you don't need ::File, you can use File, but for the former you need the ::
grantedbark78 has joined #ruby
graphene has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
graphene has joined #ruby
cnsvc_ has joined #ruby
tag has joined #ruby
ElFerna has joined #ruby
<Moeh> phaul: Great, thanks so much!
adlerdias has joined #ruby
dbz has joined #ruby
sonofentropy has joined #ruby
dbz_ has joined #ruby
dbz_ has quit [Remote host closed the connection]
dbz_ has joined #ruby
themsay has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
dbz has quit [Ping timeout: 250 seconds]
hutch has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
cthulchu_ has joined #ruby
hutch has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
dbz_ has quit [Remote host closed the connection]
themsay has quit [Ping timeout: 250 seconds]
ElFerna has quit [Ping timeout: 245 seconds]
cthu| has joined #ruby
<Inside> back~
graphene has quit [Remote host closed the connection]
code_zombie has joined #ruby
graphene has joined #ruby
cthulchu_ has quit [Ping timeout: 250 seconds]
graft has joined #ruby
<graft> hey all, i often have trouble with the case statement when I'm trying to match a class, e.g., x = Float; case x; when Float;...;end
<graft> the behavior here is that the when Float does not match, because x is not a Float, it is a Class
<graft> is there any way to match this with case/when, or am i stuck with if/elsif?
<phaul> &>> x = 3.14; case x; when Float then 'yay'; else 'no cigar'; end
<rubydoc> # => "yay" (https://carc.in/#/r/5rw8)
mikecmpbll has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
<graft> &>> x = Float; case x; when Float then 'yay'; else 'no cigar'; end
<rubydoc> # => "no cigar" (https://carc.in/#/r/5rw9)
<phaul> graft: depends on what you want. class implements === as being kind_of? . so ruby is right. Float is not kind of Float
<phaul> 3.14 is kind of float
<graft> sure, i understand what it's doing, i'm just wondering if there is a way around this behavior
<graft> i.e., some way to match Float == Float using when
<graft> i suspect not
<phaul> sure override Class ===
<graft> oh god
<graft> that would surely have no negative repercussions
<phaul> yeah :)
<phaul> I agree it's a bit confusing that just beacuse a == b it's not necesarrily a === b
millerti has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
<Inside> some might ask why you're doing a case on a class
yokel has quit [Remote host closed the connection]
Guest61854 has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
sonofentropy has quit [Quit: sonofentropy]
<phaul> graft, there is a boolean statement form of case, it's a bit like syntactic sugared if ... if else ..
eckhardt_ has joined #ruby
<phaul> &>> case; when true then 'whoa'; when false then 'what?'; else 'no way'; end
<rubydoc> # => "whoa" (https://carc.in/#/r/5rwc)
bambanx has joined #ruby
<baweaver> Oho
<baweaver> phaul is on the case!
<phaul> ohai baweaver :)
<baweaver> ohai
<baweaver> ohai lunarkitty7
<baweaver> Case statements are fun to play with.
<baweaver> Especially after you grok ===
<phaul> yeah, and combine them with procs and stuff
<phaul> and you arrive at Qo ;)
ogres has joined #ruby
lucasb has joined #ruby
<baweaver> To be fair Qo uses === pretty religiously
<baweaver> Also if anyone's looking for some RubyConf videos to start with: https://medium.com/@baweaver/rubyconf-rundown-pt-1-f64d35ddaefd
Sigfrid has joined #ruby
<baweaver> Going through some other talks this weekend.
<baweaver> There's rumored to be pattern matching in Ruby 3.x
<baweaver> Though it may show up earlier
<baweaver> Dare we hope 2.7? We shall see
gheegh has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
cpruitt has quit [Ping timeout: 244 seconds]
themsay has joined #ruby
slima has joined #ruby
themsay has quit [Ping timeout: 246 seconds]
Aqo has joined #ruby
themsay has joined #ruby
sonofentropy has joined #ruby
themsay has quit [Read error: Connection reset by peer]
sauvin has quit [Remote host closed the connection]
themsay has joined #ruby
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
<slima> Hi, I try to use Nokogiri to parse xml and make changes for some values, But I completly lost, I have xml with structure: https://gist.github.com/slima/34d684fe3fd7dd016301a93a5782370d and I like to get values for first DictionaryEntry, but I can't: https://gist.github.com/slima/3828d66178c10be259b607648f64be89
ElFerna has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
gix has joined #ruby
paraxial has quit [Ping timeout: 246 seconds]
sonofentropy has quit [Quit: sonofentropy]
dellavg_ has quit [Ping timeout: 245 seconds]
themsay has quit [Ping timeout: 240 seconds]
themsay has joined #ruby
Moeh has quit [Quit: Textual IRC Client: www.textualapp.com]
SuperLag has quit [Ping timeout: 272 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
SuperLag has joined #ruby
adlerdias has quit [Quit: adlerdias]
themsay has quit [Ping timeout: 240 seconds]
themsay has joined #ruby
raulp has joined #ruby
<al2o3-cr> slima: you just want the values from the first dictionary entry?
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
paraxial has joined #ruby
lxsameer has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
kapil____ has quit [Quit: Connection closed for inactivity]
ElFerna has joined #ruby
weaksauce has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
cow[moo] has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
ElFerna has joined #ruby
GodFather has joined #ruby
Sigfrid has quit [Quit: Leaving]
Sigfrid has joined #ruby
venmx has joined #ruby
s3nd1v0g1us has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
smhuber has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
Sigfrid has quit [Remote host closed the connection]
GodFather has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
cpruitt has joined #ruby
mr_blue has joined #ruby
<mr_blue> hi all
<mr_blue> something strange happen with dotenv gem. It the .env variable was bash exported, the gem does not load the .env file value
cnsvc_ has joined #ruby
ur5us has joined #ruby
roshanavand has quit [Ping timeout: 268 seconds]
carbone5 has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has quit [Ping timeout: 240 seconds]
<mr_blue> in a rake task
venmx has quit [Remote host closed the connection]
venmx has joined #ruby
serard has joined #ruby
sonofentropy has joined #ruby
Freshnuts has joined #ruby
bambanxx has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
nowhere_man has joined #ruby
bambanx has quit [Ping timeout: 246 seconds]
ElFerna has joined #ruby
reber has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 245 seconds]
venmx has joined #ruby
Guest61854 has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
ElFerna has quit [Ping timeout: 240 seconds]
<slima> al2o3-cr: I like a modify a values like <ISP>, <VID> so: search for <VID></VID> in first DictionaryEntry and insert 3 for example
ur5us has quit [Read error: Connection reset by peer]
ElFerna has joined #ruby
za1b1tsu has joined #ruby
StarLord__ has joined #ruby
bambanxx has quit [Ping timeout: 250 seconds]
za1b1tsu has quit [Ping timeout: 244 seconds]
carbone5 has quit [Quit: carbone5]
za1b1tsu has joined #ruby
serard_ has joined #ruby
serard has quit [Ping timeout: 252 seconds]
s3nd1v0g1us has quit [Ping timeout: 252 seconds]
Sembei has joined #ruby
WA9ACE has quit [Quit: ZNC 1.7.0+deb0+bionic1 - https://znc.in]
Pisuke has quit [Ping timeout: 268 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<krawchyk> does this mean `Enumerable#each_with_object` is more performant than `reduce` or `inject`?
<krawchyk> because each_with_object doesnt instantiate new accumulator objects each iteration
<krawchyk> or do i need to read up on my Ruby internals?
<havenwood> krawchyk: reduce/inject also have a persistent accumulator that's being mutated - just like each_with_object
<havenwood> krawchyk: there are various performance and memory implications of having frozen arrays non-mutating methods versus unfroze arrays that mutate
<havenwood> krawchyk: i'd not take this tweet-based cop with too much seriousness :P
<havenwood> krawchyk: i'd suggest that you do your own benchmarking and check the actual memory and performance implications for your case
<havenwood> krawchyk: I did a PR a long time ago that changed Rails to use mutating methods. It was eventually rejected with a shrug.
<havenwood> krawchyk: There's something nice about functional methods.
<havenwood> krawchyk: an aside, but tenderlove just proposed a commit for Ruby that would allow for a frozen_hash_and_array_literal magic comment.
<slima> al2o3-cr: yeah, I read that, but this examples is not clear to me.
<havenwood> krawchyk: frozen arrays wouldn't work with map!, etc.
<slima> are*
<havenwood> (I do think frozen_hash_literal should probably be separate from frozen_array_literal with a catch-all frozen_literals.)
SeepingN has joined #ruby
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
cow[moo] has joined #ruby
<al2o3-cr> slima: `doc.at_xpath("//vid").content = "whatever"'
<krawchyk> interesting, thanks for the comprehensive explanation havenwood
<al2o3-cr> slima: changing an attribute doc.at_xpath("//key").attribute("classname").value = "i am now something else"
<slima> al2o3-cr: ok, tommorow I will try one more time ;) thanks you
Guest61854 has quit [Ping timeout: 250 seconds]
Guest61854 has joined #ruby
Guest61854 has quit [Ping timeout: 240 seconds]
darkhanb has joined #ruby
Renich has joined #ruby
cow[moo] is now known as cow[away]
cow[away] is now known as cow[moo]
cow[moo] is now known as cow[away]
cthulchu_ has joined #ruby
Sigfrid has joined #ruby
cow[away] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
serard_ has quit [Ping timeout: 250 seconds]
powerbit has joined #ruby
powerbit has quit [Excess Flood]
powerbit has joined #ruby
powerbit has quit [Excess Flood]
powerbit has joined #ruby
powerbit has quit [Excess Flood]
cthu| has quit [Ping timeout: 250 seconds]
powerbit has joined #ruby
powerbit has quit [Excess Flood]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch has quit [Ping timeout: 240 seconds]
weaksauce has joined #ruby
powerbit has joined #ruby
hutch has joined #ruby
Sigfrid has quit [Remote host closed the connection]
profetes_ has joined #ruby
tycoon177_ has joined #ruby
PasNox_ has joined #ruby
devyn has quit [Ping timeout: 268 seconds]
venmx has quit [Ping timeout: 240 seconds]
Dbugger has quit [Quit: Leaving]
\void has joined #ruby
Yxhuvud has quit [Disconnected by services]
Ca1us has joined #ruby
EvilJStoker has quit [Killed (niven.freenode.net (Nickname regained by services))]
Caius has quit [Ping timeout: 250 seconds]
tbuehlmann has quit [Ping timeout: 250 seconds]
Guest33581 has quit [Ping timeout: 250 seconds]
Demos[m] has quit [Ping timeout: 250 seconds]
Seich has quit [Ping timeout: 250 seconds]
Nightmare has quit [Ping timeout: 250 seconds]
lunarkitty7 has quit [Ping timeout: 250 seconds]
chongtxtx has quit [Ping timeout: 250 seconds]
tycoon177 has quit [Ping timeout: 250 seconds]
bathtub_shark has quit [Ping timeout: 250 seconds]
profetes has quit [Ping timeout: 250 seconds]
wnd has quit [Ping timeout: 250 seconds]
PasNox has quit [Ping timeout: 250 seconds]
tycoon177_ is now known as tycoon177
TheTFEF has joined #ruby
EvilJStoker has joined #ruby
Sigfrid has joined #ruby
lunarkitty7 has joined #ruby
Demos[m] has joined #ruby
bathtub_shark has joined #ruby
devyn has joined #ruby
irdr has quit [Remote host closed the connection]
irdr has joined #ruby
cd has joined #ruby
wnd has joined #ruby
profetes_ has quit [Quit: Leaving]
ElFerna has quit [Ping timeout: 240 seconds]
polishdub has quit [Quit: leaving]
sonofentropy has quit [Quit: sonofentropy]
crankharder has quit [Ping timeout: 264 seconds]
ruby[bot] has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
Ookma-Kyi has joined #ruby
hutch has quit [Ping timeout: 268 seconds]
\void has quit [Quit: So long, and thanks for all the fish.]
cow[moo] has joined #ruby
ElFerna has joined #ruby
<Ookma-Kyi> Anyone?
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
<phaul> Ookma-Kyi in the future try pasting error logs / code on dpaste.de or gist.github.com etc. Flashing animated gifs with jpeg screenshots of screen contents are not going to be popular with people trying to help.
<phaul> Also try to explain what you are doing, unless someone has seen the exact same backtrace it's unlikely that anybody could help
SeepingN has quit [Ping timeout: 250 seconds]
SeepingN has joined #ruby
ElFerna has quit [Quit: WeeChat 2.3]
<phaul> ?answers
<ruby[bot]> How to ask the right questions to get you the right answer: https://www.mikeash.com/getting_answers.html
ElFerna has joined #ruby
ElFerna has quit [Client Quit]
ElFerna has joined #ruby
<miah> would also help to provide the failing code if possible
ElFerna has quit [Client Quit]
ElFerna has joined #ruby
Hobbyboy has quit [Read error: Connection reset by peer]
Hobbyboy|BNC has joined #ruby
ElFerna has quit [Client Quit]
cnsvc_ has joined #ruby
jasmith has quit [Quit: Leaving]
za1b1tsu has quit [Ping timeout: 250 seconds]
lxsameer has quit [Ping timeout: 245 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
awkwords has quit [Quit: sleepy time]
ElFerna has joined #ruby
ElFerna has quit [Client Quit]
ElFerna has joined #ruby
mr_blue has quit [Quit: leaving]
BTRE has quit [Remote host closed the connection]