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-rc2: 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!
sticaz has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
nocoda has joined #ruby
nocoda has quit [Client Quit]
cschneid has joined #ruby
cschneid has quit [Ping timeout: 246 seconds]
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
cschneid has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prestorium has quit [Quit: prestorium]
sarink has joined #ruby
sarink has quit [Ping timeout: 252 seconds]
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has joined #ruby
tdy has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
hutch has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 246 seconds]
donofrio has quit [Ping timeout: 244 seconds]
RougeR has joined #ruby
AJA4350 has quit [Remote host closed the connection]
donofrio has joined #ruby
tdy has joined #ruby
donofrio has quit [Ping timeout: 245 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
donofrio has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ruby
cnsvc has joined #ruby
Arkantos has joined #ruby
RougeR has quit [Quit: Leaving]
tdy has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
Arkantos has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has quit [Ping timeout: 250 seconds]
kapil____ has joined #ruby
PolymorphicProdu has joined #ruby
PolymorphicProdu has quit []
donofrio has quit [Ping timeout: 240 seconds]
donofrio has joined #ruby
tdy has joined #ruby
donofrio has quit [Ping timeout: 250 seconds]
Junaos has quit [Quit: ZNC - http://znc.in]
Junaos has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
cschneid has joined #ruby
Junaos has quit [Client Quit]
Junaos has joined #ruby
Junaos has quit [Remote host closed the connection]
elphe has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
clemens3 has joined #ruby
clemens3_ has quit [Ping timeout: 250 seconds]
donofrio has joined #ruby
donofrio has quit [Remote host closed the connection]
donofrio has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
Junaos has joined #ruby
donofrio has quit [Ping timeout: 268 seconds]
donofrio has joined #ruby
tdy has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
m0w has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 272 seconds]
masterasia has joined #ruby
houhoulis has joined #ruby
braincrash has quit [Quit: bye bye]
tdy has quit [Ping timeout: 250 seconds]
braincrash has joined #ruby
_whitelogger has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
donofrio has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
houhoulis has quit [Remote host closed the connection]
tdy has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has quit [Ping timeout: 272 seconds]
tdy has joined #ruby
cnsvc has joined #ruby
za1b1tsu has joined #ruby
coderphive has joined #ruby
cd has quit [Quit: cd]
za1b1tsu has quit [Ping timeout: 252 seconds]
za1b1tsu has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
cschneid has joined #ruby
rippa has joined #ruby
cschneid has quit [Ping timeout: 244 seconds]
hutch has joined #ruby
za1b1tsu_ has joined #ruby
za1b1tsu_ has quit [Remote host closed the connection]
za1b1tsu has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Exuma has joined #ruby
solocshaw has joined #ruby
solocshaw has quit [Client Quit]
cnsvc has joined #ruby
aupadhye has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
dellavg_ has joined #ruby
cschneid has joined #ruby
clemens3 has quit [Ping timeout: 246 seconds]
cnsvc has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elphe has joined #ruby
<marz_d`ghostman> I'm using a gem that has this line: output = `#{cmd} 2>&1` . But in my script I have redirected $stderr to a logger instance and I'm getting a uninitialized stream error. How do I fix this one so the 2>&1 will also get redirected to the logger?
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has quit [Ping timeout: 272 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
hutch has quit [Ping timeout: 246 seconds]
marz_d`ghostman has quit [Quit: Page closed]
elphe has quit [Ping timeout: 250 seconds]
Exuma has joined #ruby
Exuma has quit [Client Quit]
kapil____ has quit [Quit: Connection closed for inactivity]
cnsvc has joined #ruby
conta has joined #ruby
themsay has quit [Ping timeout: 246 seconds]
conta has quit [Quit: conta]
Pisuke has joined #ruby
MyMind has quit [Ping timeout: 268 seconds]
neuraload has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
elphe has joined #ruby
kapil____ has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
conta has joined #ruby
_whitelogger has joined #ruby
paranoicsan has joined #ruby
cnsvc has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
rivalomega has joined #ruby
Guest49234 has joined #ruby
rivalomega has quit [Client Quit]
dhollin3 has joined #ruby
cschneid has joined #ruby
conta has quit [Quit: conta]
dhollinger has quit [Ping timeout: 250 seconds]
cruzo66342 has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
rubydoc has quit [Ping timeout: 272 seconds]
rubydoc has joined #ruby
cruzo66342 has quit [Remote host closed the connection]
cruzo66342 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
cruzo66342 has quit [Remote host closed the connection]
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away has quit [Quit: paranoicsan[Away]
<isene> Thanks for the TLS debug, guys :-)
paranoicsan has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
prestorium has joined #ruby
za1b1tsu has joined #ruby
clemens3 has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
za1b1tsu has joined #ruby
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away has quit [Quit: paranoicsan[Away]
agent_white has quit [Quit: leaving]
mikecmpbll has joined #ruby
paranoicsan has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
cschneid has joined #ruby
masterasia has joined #ruby
reber has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
tdy has joined #ruby
za1b1tsu has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
tdy has quit [Ping timeout: 246 seconds]
conta has joined #ruby
cschneid has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
AJA4350 has joined #ruby
venmx has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
<phaul> Merry Christmas everybody
kapil____ has joined #ruby
cruzo66342 has joined #ruby
sticaz has quit [Ping timeout: 245 seconds]
cruzo66342 has quit [Ping timeout: 240 seconds]
sticaz has joined #ruby
conta has quit [Quit: conta]
cnsvc has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
paranoicsan has quit [Quit: paranoicsan]
gigetoo has quit [Read error: No route to host]
gigetoo has joined #ruby
cschneid has joined #ruby
dellavg_ has quit [Ping timeout: 250 seconds]
paranoicsan has joined #ruby
neuraload has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
saltsa has joined #ruby
mostlybadfly has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
<isene> │11:32:25 isene │ Thanks for the TLS debug, guys :-) │ bastilian │·············
<isene> Sorry about that
donofrio has joined #ruby
neuraload has quit [Quit: Leaving]
paranoicsan has quit [Quit: paranoicsan]
paranoicsan has joined #ruby
donofrio has quit [Ping timeout: 272 seconds]
paranoicsan has quit [Quit: paranoicsan]
donofrio has joined #ruby
exchgr has quit [Quit: ZNC - http://znc.in]
donofrio has quit [Read error: Connection reset by peer]
exchgr has joined #ruby
donofrio has joined #ruby
aupadhye has quit [Quit: Leaving]
_whitelogger has joined #ruby
donofrio has quit [Ping timeout: 246 seconds]
nchambers has joined #ruby
cschneid has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
donofrio has joined #ruby
Nobun has joined #ruby
<Nobun> hi. I am not very confident with ruby (I almost not use ruby). However I am writing a script which MUST use ruby so I need some help
<bougyman> That's not an interesting problem.
<Nobun> 1) the script will be a kramdown builder (kramdown app is pretty limited on complex documentation with multiple files)
<Nobun> first problem is a very stupid one. I am trying to write a recursive file search and write it down to a list. When using Find.find nil values will found and I can't skip them. I will paste the part of code involving the problem
<Nobun> the last comment is the error returned by ruby interpreter
<Nobun> xext_in is a string containing the extension
<bougyman> are you looking for all files?
reber has quit [Remote host closed the connection]
<bougyman> Nobun: Dir.glob('**/*').select { |f| File.file? f }
<bougyman> try that instead.
<bougyman> see if it's what you want.
<bougyman> and then just use the select block for your comparison.
<bougyman> f =~ /#{xext_in}$/ instead of File.file? f
<bougyman> Or even just Dir.glob("**/*.#{xext_in}") probably
<Nobun> thank bougyman... I will try soon. However I found another issue not related to the lines I posted, but that could break also that function
nchambers has quit [Quit: WeeChat 2.2]
houhoulis has joined #ruby
<Nobun> yeah... I did also a bad mistake... I used OptionParser but I didn't provide a way to have a default value so all values ended to have nil instead of default. This way ext_in was nil -.-
<Nobun> now also the function works. However I am trying to understand your suggestion... what is "**/*" exactly?
dhollin3 is now known as dhollinger
<Nobun> I understand that #{xext_in} is a variable replacer for regexp, but i can't get what is **/* exactly
houhoulis has quit [Ping timeout: 250 seconds]
Xiti has quit [Ping timeout: 246 seconds]
cschneid has quit [Ping timeout: 250 seconds]
nowhere_man has joined #ruby
paranoicsan has joined #ruby
cruzo66342 has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
catbusters has joined #ruby
nchambers has joined #ruby
sagax has quit [Ping timeout: 268 seconds]
segy has quit [Ping timeout: 246 seconds]
cschneid has joined #ruby
segy has joined #ruby
Xiti has joined #ruby
venmx has quit [Ping timeout: 250 seconds]
sagax has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
Nobun has quit [Quit: WeeChat 2.1-dev]
donofrio has quit [Ping timeout: 268 seconds]
nchambers has quit [Ping timeout: 244 seconds]
KeyJoo has joined #ruby
cruzo66342 has quit [Remote host closed the connection]
sticaz has quit [Quit: sticaz]
hutch has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
nchambers has joined #ruby
hutch has joined #ruby
paranoicsan has quit [Quit: paranoicsan]
cruzo66342 has joined #ruby
cruzo66342 has quit [Remote host closed the connection]
cschneid has quit [Ping timeout: 240 seconds]
cnsvc has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
Xiti has quit [Quit: Xiti]
cthulchu has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
marvin2 has quit [Ping timeout: 250 seconds]
Xiti has joined #ruby
prestori_ has joined #ruby
hutch has joined #ruby
prestorium has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 268 seconds]
lxsameer has joined #ruby
\void has joined #ruby
Guest49234 has quit [Ping timeout: 250 seconds]
TomyLobo has joined #ruby
<TomyLobo> rubygems.com is now a phishing site
<TomyLobo> redirecting to a domain registered yesterday evening
<TomyLobo> i could have sworn it once used to be a legit redirect to rubygems.org
Eiam has quit [Ping timeout: 264 seconds]
<nchambers> perhaps it was forgotten about
<TomyLobo> wait
<TomyLobo> someone has that page on offer
<TomyLobo> and they put phishing on it?
<TomyLobo> how is that legal?
<nchambers> where is the phishing?
<nchambers> i just get a 403
<TomyLobo> the phishing was german
<TomyLobo> might be country-specific
<TomyLobo> also, i connected to :80
<TomyLobo> ithink
<nchambers> ah
AJA4350 has quit [Quit: AJA4350]
kapil____ has joined #ruby
elphe has joined #ruby
y0u has joined #ruby
elphe has quit [Ping timeout: 244 seconds]
cd has joined #ruby
ogres has joined #ruby
<Iambchop> DomainTools screenshot history for rubygems.com https://usercontent.irccloud-cdn.com/file/f0RF1JH5/Capture%2B_2018-12-24-12-40-35.png
hutch has quit [Ping timeout: 244 seconds]
cschneid has joined #ruby
donofrio has joined #ruby
Swyper has joined #ruby
<Swyper> hi
<Swyper> Failure/Error: expect(titleize("the bridge over the river kwai")).to eq("The Bridge over the River Kwai") expected: "The Bridge over the River Kwai" got: "thebridgeovertheriverkwai" (compared using ==)
<Swyper> any ideas where I am going wrong? it seems the if statements do not ever get executed
<elomatreb> You need to share the full gist URL
<Swyper> sorry aha
elphe has joined #ruby
hutch has joined #ruby
<Swyper> I added the "jj" and "kk" to see if the if statements were even executing and they are not
<havenwood> Swyper: That gist doesn't seem to correspond with your test.
<havenwood> Swyper: It's a nice convention to use a plural for a collection and the corresponding singular for the block value when iterating over the collection.
<havenwood> Swyper: words.split.each do |word|
<Swyper> havenwood: can you expand on what you mean
<Swyper> oh
<Swyper> havenwood: what I posted was just the method thats failing and what tests are failing
<havenwood> Swyper: You're not joining this version, so it doesn't seem to match the test one.
<Swyper> havenwood: if you refresh the gist I added comments with the tests that are failing
<Swyper> joining ?
<havenwood> &>> ['these', 'are', 'words'].join(' ') # Swyper
<elomatreb> Turning the array of words you got by split'ing back into a cohesive string
<rubydoc> # => "these are words" (https://carc.in/#/r/5umr)
<Swyper> oh right, I had a join in there before but was still getting the same output, so I tried to remove it to just see what string I have.. my main issue is the if else is not getting executed
<havenwood> Swyper: This is a great place to use #map instead of #each. I find I use #map far more than #each anyways.
<elomatreb> Your ifs are executed, the result is just discarded immediately because you're assigning the result of a call to #each
<elomatreb> #each always returns the collection it was called on, not what you do with that in the iterations
<Swyper> so your saying I'm assigning to a local variable within the if statement ?
<elomatreb> No, you are assigning to the "correct" variable, but when all the words are done, the assignment in line 2 overrides what you changed
<elomatreb> https://eval.in/1072074 for a reduced demo
<Swyper> hmm
<havenwood> &>> [1, 2, 3].map { |n| n + 42 } # Swyper
<rubydoc> # => [43, 44, 45] (https://carc.in/#/r/5ums)
<havenwood> Swyper: Note how #map returns the result of applying the block to each element.
<Swyper> I updated it and I think I fixed that issue elomatreb
<Swyper> still not getting a correct output, tho
agent_white has joined #ruby
<havenwood> Swyper: It's a lot closer now.
cschneid has quit [Ping timeout: 250 seconds]
<Swyper> ah I just don't have spaces now
<havenwood> Swyper: The Ruby convention is `new_word` instead of `newWord`. We don't actually ever use headlessCamelCase for anything.
<havenwood> Swyper: A shorthand for `newWord = newWord + i` is `newWord += i`.
<Swyper> oh okay
<Swyper> thanks havenwood
<havenwood> Swyper: It's custom to drop the `return` from `return newWord` when it's the last line of a method. So just: newWord
<Swyper> so every word is separated with an underscore
<Swyper> the return just makes it obvious to me where the return is happening xD
<havenwood> Swyper: When you get used to Ruby, it's obvious that the last line of the method will return unless you've explicitly returned early.
<havenwood> Swyper: We just use `return` for early returns.
elphe has quit [Ping timeout: 244 seconds]
<havenwood> Swyper: But it doesn't do harm to put it there. You'll see in Ruby code you read it's almost always omitted.
cruzo66342 has joined #ruby
<havenwood> Swyper: I'd highly recommend looking into #map, since it's so very useful.
za1b1tsu has joined #ruby
<Swyper> I will for sure, havenwood
havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.6.0-rc2: 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!
donofrio has quit [Ping timeout: 240 seconds]
donofrio has joined #ruby
<nchambers> is there a way to tell how many args a block passed to a function is expecting
cruzo66342 has quit [Read error: Connection reset by peer]
Swyper has quit [Ping timeout: 256 seconds]
cruzo66342 has joined #ruby
<nchambers> nmd, looks like I want Proc#arity
TomyLobo has quit [Read error: Connection reset by peer]
jottr has joined #ruby
za1b1tsu has quit [Ping timeout: 268 seconds]
themsay has joined #ruby
nchambers is now known as Rudolph
KeyJoo has quit [Quit: KeyJoo]
donofrio has quit [Ping timeout: 244 seconds]
donofrio has joined #ruby
hutch has quit [Ping timeout: 272 seconds]
Nobun has joined #ruby
<Nobun> problem with OptionParser: http://dpaste.com/268ZXFQ
<Nobun> if I run "script -x value" (where x is a flag) the option does not capture the 'value' I printed
<Nobun> in console
<Nobun> why?
<Rudolph> you need to do --foo=bar
<Rudolph> or --foo=[bar] if it takes an optional argument
paranoicsan has joined #ruby
paranoicsan has quit [Client Quit]
<Rudolph> ie, opt.on("-b", "--build=[DIR]", String, "...")
<Nobun> -b shortcut does not work?
<Rudolph> what do you mean
<Rudolph> what shortcut?
<Rudolph> it will automatically apply to -b and --build
<Nobun> Rudolph: in my code I have opt.on("-b", "--build=[DIR]", String, "...")
<Rudolph> thats not what you showed in the paste
<Nobun> as you can see in my example
jottr has quit [Ping timeout: 272 seconds]
<Rudolph> in the paste you just have: opt.on('-b', '--build', String,
<Nobun> ah so I have to use " instead of ' right?
<Rudolph> no
<Rudolph> you have '-b', '--build'
<Rudolph> you need to tell it that it takes an argument with '-b FOO', '--build' or '-b', '--build=FOO'
<Nobun> sorry so how the code should look instead? I don't get it
<Nobun> for example opt.on('-e', '--input-ext', String, 'Input extension (default=md)') { |o| $options.extension_in = o }
<Nobun> how should be written instead?
donofrio has quit [Ping timeout: 246 seconds]
<Rudolph> i mean, i've showed you how it looks
<Rudolph> im not sure what else to say
<Nobun> but I am not saying any differences (a part ' instead of ")
donofrio has joined #ruby
<Nobun> there is '-e', ther is '--input ext', ther is string and ther is description
<Rudolph> --input ext isn't the same as --input-ext
<Rudolph> one is a flag called --input-ext taking no arguments
<Rudolph> another is a flag called --input taking an argument ext
<Nobun> ah now I got it
<Nobun> so I have to write '--input-ext EXT'
<Rudolph> exactly, yeah
<Nobun> and the same change required in the first option or not?
<Nobun> I mean -b
<Rudolph> you can put it in either
<Rudolph> if its in one it will be applied to both
<Nobun> ok thanl
<Rudolph> np
<Nobun> yeah... now it works :)
<Rudolph> \o/
donofrio has quit [Ping timeout: 246 seconds]
za1b1tsu has joined #ruby
<Nobun> the bad news is that the final result is not exactly as expected... but it is not a problem in my script, but in kramdown itself
<Nobun> for example, when creating html, links will refers to .md files and not .html files
cschneid has joined #ruby
<Nobun> I tried also kramdown -> latex and it is even worse... so probably I will focus my script to html output only in order to fix this issue
dripup has joined #ruby
themsay has quit [Ping timeout: 272 seconds]
<havenwood> Nobun: Here's a gist I did that shows off some lesser-known modern OptionParser features: https://gist.github.com/havenwood/02123198a79447543a3ea053e7e592fd
donofrio has joined #ruby
<havenwood> I like the new `into:` keyword argument for #parse! and #permute! particularly.
<havenwood> I've been meaning to write an article and contribute some docs.
<Rudolph> do you normally write articles?
<Rudolph> (and if so, can you link to where they're stored?)
<havenwood> Rudolph: I oddly don't have a place they're collected. Here's one: https://medium.com/square-corner-blog/rubys-new-jit-91a5c864dd10
<Rudolph> thanks!
donofrio has quit [Ping timeout: 250 seconds]
<havenwood> Rudolph: I'll write some more and make a page that lists them. Thanks for the prodding!
<Rudolph> sweet, thanks
<Rudolph> i've been mainly following baweaver and medhi farsi, which are both great but would love to get some more sources as well
<havenwood> Rudolph: Also checkout baweaver's, haha beat me to it.
<Rudolph> haha
<havenwood> Rudolph: Yeah, Medhi's are great too. +1
<havenwood> Rudolph: baweaver and I are coworkers :)
<Rudolph> definitely, i've learned a lot of the finer details from syntax i just normally glaze over
<Rudolph> ah cool, you work at square too?
<havenwood> yerp!
<Rudolph> nice, i didn't realize how ruby heavy they were
marvin2 has joined #ruby
<havenwood> tons of Ruby! \o/
donofrio has joined #ruby
dellavg_ has joined #ruby
hutch has joined #ruby
Exuma has joined #ruby
armyriad has joined #ruby
donofrio has quit [Ping timeout: 250 seconds]
cschneid has quit [Ping timeout: 250 seconds]
dellavg_ has quit [Ping timeout: 250 seconds]
elphe has joined #ruby
elphe has quit [Ping timeout: 250 seconds]
mspo has joined #ruby
CrazyEddy has quit [Ping timeout: 250 seconds]
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Exuma has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<mspo> is there a way to call a method without arguments explicitly? like foo = P.new( foo.empty? : nil ? foo ) ; the P.new(nil) is not the same as P.new()
<Rudolph> i normally do something like: args = []; ...; P.new *args
<Rudolph> not sure if there is a better way
<mspo> oops got my ?: mixed up there, but you get it
Exuma has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
venmx has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
donofrio has joined #ruby
<Rudolph> do the rubysec maintainers happen to idle in here?
donofrio has quit [Ping timeout: 250 seconds]
nowhere_man has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
cthulchu has quit [Ping timeout: 272 seconds]
Exuma has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 252 seconds]
Exuma has joined #ruby
libertyprime has joined #ruby
akaiiro has quit [Remote host closed the connection]
donofrio has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
tdy has joined #ruby
hutch has quit [Ping timeout: 244 seconds]
donofrio has quit [Ping timeout: 250 seconds]
donofrio has joined #ruby
aonemd has joined #ruby
aonemd has quit [Client Quit]
Freeaqingme has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
donofrio has quit [Ping timeout: 240 seconds]
donofrio has joined #ruby
Exuma has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Nobun has quit [Ping timeout: 250 seconds]
Exuma has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
donofrio has quit [Ping timeout: 268 seconds]
houhoulis has joined #ruby
cschneid has joined #ruby
cschneid has quit [Ping timeout: 250 seconds]
oncall-pokemon has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
cthulchu has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jottr has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
spacesuitdiver has joined #ruby
davidw has joined #ruby
y0u has quit [Quit: Connection closed for inactivity]
tdy has joined #ruby
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
tdy has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidw has quit [Ping timeout: 250 seconds]
catbusters has quit [Quit: Connection closed for inactivity]
donofrio has joined #ruby
m0w has joined #ruby
masterasia has joined #ruby
donofrio has quit [Ping timeout: 245 seconds]
tiff has joined #ruby
donofrio has joined #ruby
<isene> al2o3-cr: Would you mind adding your info to my reported ssl bug over at launchpad?
roshanavand has quit [Remote host closed the connection]
elphe has joined #ruby
roshanavand has joined #ruby
elphe has quit [Ping timeout: 245 seconds]
donofrio has quit [Ping timeout: 250 seconds]
druonysus has quit [Read error: Connection reset by peer]
Nobun has joined #ruby
<Nobun> havenwood: thank for your link about OptionParser
<Nobun> good night
Nobun has quit [Client Quit]
darkhanb has joined #ruby
darkhanb has quit [Client Quit]
hutch has joined #ruby
cschneid has joined #ruby
elphe has joined #ruby
cschneid has quit [Ping timeout: 244 seconds]
millerti has joined #ruby
zxq2 has joined #ruby
nowhere_man has joined #ruby
libertyprime has quit [Ping timeout: 250 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
donofrio has joined #ruby
darkhanb has joined #ruby
donofrio has quit [Ping timeout: 250 seconds]
Rudolph has quit [Quit: WeeChat 2.2]