caedmon has quit [Read error: Connection reset by peer]
razetime has joined #ruby
Goodbye_Vincent6 has joined #ruby
Goodbye_Vincent has quit [Ping timeout: 276 seconds]
Goodbye_Vincent6 is now known as Goodbye_Vincent
helge has quit [Ping timeout: 252 seconds]
helge has joined #ruby
wk has joined #ruby
sagax has joined #ruby
sagax has quit [Changing host]
sagax has joined #ruby
jhass has quit [Ping timeout: 250 seconds]
jhass has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
cognemo has quit [Ping timeout: 260 seconds]
<havenwood>
sickdyd: +1 to sphex's suggestion, that seems ideal. Or depending on how permissive you want to be you can: foo.to_i.positive?
<havenwood>
I don't mind the falsey `nil` that `foo&.positive?` can result in, and it's the idiomatic Ruby style. You could consider prefixing it with `!!` if you actually need `true` or `false` or the `to_i` results in bool as well.
Linux_Kerio has joined #ruby
<sickdyd>
sphex, havenwood: thanks for the suggestion, I will look it up
<sickdyd>
anyway I ended up removing the related method since it turned out to be duplicated
ur5us_ has quit [Ping timeout: 246 seconds]
moldorcoder7 has quit [Ping timeout: 264 seconds]
stirl has joined #ruby
grenierm has joined #ruby
nirvdrum has joined #ruby
sidetracking has joined #ruby
dviola has quit [Ping timeout: 265 seconds]
reset has quit [Quit: reset]
dmn has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
howdoi has joined #ruby
crespire1 has quit [Ping timeout: 255 seconds]
stirl has quit [Ping timeout: 250 seconds]
crespire has joined #ruby
John_Ivan has quit [Ping timeout: 265 seconds]
razetime has quit [Ping timeout: 255 seconds]
nirvdrum has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
nirvdrum has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
nirvdrum has quit [Client Quit]
cardis32 has joined #ruby
wk has quit [Ping timeout: 276 seconds]
hypoki43 has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
<apteryx>
hello! I'm trying to run the test suite of ruby-syntax-tree, and I get "LoadError: cannot load such file -- ast"; isn't this module supposed to be provided by Ruby itself?
<adam12>
apteryx: How are you running the test suite?
<apteryx>
'rake test'
<adam12>
apteryx: What happens when you do `bundle exec rake test`
<apteryx>
by adding rubocop-ast to the Guix package def it can be built now though; so my true problem is solved
<apteryx>
there's no 'bundle exec' used while building in Guix, but the check phase has to be moved post install and GEM_PATH augmented with the package's own installation prefix.
sickdyd has quit [Ping timeout: 276 seconds]
diploi56 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
unirri91 has joined #ruby
unirri91 has quit [Remote host closed the connection]
wk has joined #ruby
Amen43 has joined #ruby
Amen43 has quit [Remote host closed the connection]
supers57 has joined #ruby
_ht has quit [Quit: _ht]
___nick___ has quit [Ping timeout: 265 seconds]
sickdyd has joined #ruby
<apteryx>
thanks for your help :-)
sickdyd has quit [Ping timeout: 255 seconds]
superm8 has joined #ruby
jmcgnh has quit [Ping timeout: 246 seconds]
supers57 has quit [Ping timeout: 264 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
wk has quit [Ping timeout: 248 seconds]
teclator has quit [Ping timeout: 255 seconds]
ur5us_ has quit [Ping timeout: 250 seconds]
<adam12>
apteryx: cheers.
jmcgnh has joined #ruby
sickdyd has joined #ruby
Linux_Kerio has quit [Ping timeout: 246 seconds]
otisolsen70 has quit [Quit: Leaving]
infinityfye has quit [Quit: Leaving]
wk_ has joined #ruby
grenierm has joined #ruby
moldorcoder7_ has joined #ruby
moldorcoder7 has quit [Ping timeout: 255 seconds]
tomtmym has quit [Quit: Gone.]
grenierm has quit [Ping timeout: 260 seconds]
jmcgnh has quit [Ping timeout: 276 seconds]
teclator has joined #ruby
jmcgnh has joined #ruby
ruby[bot] has quit [Remote host closed the connection]