jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
moldorcoder7 has quit [Ping timeout: 246 seconds]
Rounin has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
gemmaro has quit [Remote host closed the connection]
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Guest5 has joined #ruby
EternalSunshine has joined #ruby
<Guest5> #rubygems
Guest5 has quit [Quit: Client closed]
CrazyEddy has quit [Ping timeout: 264 seconds]
ur5us has quit [Ping timeout: 246 seconds]
CrazyEddy has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
mikecmpbll has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
jmcgnh has quit [Ping timeout: 264 seconds]
nirvdrum has quit [Quit: nirvdrum]
EternalSunshine has quit [Quit: WeeChat 3.6]
jmcgnh has joined #ruby
kale has quit [Quit: WeeChat 1.9.1]
cocalero has joined #ruby
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
sagax has joined #ruby
hightower2 has joined #ruby
hightower3 has quit [Ping timeout: 244 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
FetidToot has quit [Quit: Ping timeout (120 seconds)]
FetidToot has joined #ruby
Guest70 has joined #ruby
Guest70 has quit [Client Quit]
<sam113101> so what's the closest thing to a C-style for loop in ruby
<wnd> Why? Depends on what you have in mind. Maybe for a in 0...10; some_stuff; end, maybe a = 0; while a < 10; begin; some_stuff; ensure a += 2; end; end
gemmaro has joined #ruby
ur5us has joined #ruby
teclator has joined #ruby
teclator has quit [Client Quit]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
<leftylink> hmm, I think I may have missed a fe wopportunities over the years to use ensure
<leftylink> where it would have helped make the code less repetitive
<leftylink> hopefully I dealt with it in some reasonable way
teclator has joined #ruby
gemmaro has quit [Remote host closed the connection]
kaivai has quit [Ping timeout: 244 seconds]
kaivai has joined #ruby
protektwar has quit [Ping timeout: 246 seconds]
CrazyEddy has quit [Ping timeout: 246 seconds]
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
jmcgnh has quit [Ping timeout: 264 seconds]
jmcgnh_ has joined #ruby
jmcgnh_ is now known as jmcgnh
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
jpn has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.6]
gr33n7007h has joined #ruby
joast has quit [Ping timeout: 252 seconds]
skuntee4 has joined #ruby
joast has joined #ruby
Al2O3 has quit [Quit: I'm quitting, thanks for all the sharks.]
dionysus69 has joined #ruby
<gr33n7007h> i generally use the loop method; loop { expr; expr; ...; break if cond...; break unless cond... } something like this.
<jhass[m]> Generally there's more expressive alternative to a for loop in ruby. Usually calling some method from Enumerable
<jhass[m]> Or things like Integer#times, #upto, #downto
TomyWork has joined #ruby
skuntee4 has quit [Remote host closed the connection]
skuntee4 has joined #ruby
<littlebuddy> Slightly off-t:
<littlebuddy> Greenland Rubies - Natural Beauties - https://www.youtube.com/watch?v=UKFKHwHIKCU
infinityfye has joined #ruby
skuntee4 has quit [Ping timeout: 246 seconds]
royo25 has joined #ruby
<littlebuddy> I think in the future, one of Greenland's most prominent streets will be called Matz Street
<littlebuddy> #MINASWAN :thumbsup:
nirvdrum has joined #ruby
infinity_fye has joined #ruby
infinityfye has quit [Killed (NickServ (GHOST command used by infinity_fye!~infinityf@91.230.225.118))]
infinity_fye is now known as infinityfye
<littlebuddy> It doesn't belong to Denmark in the first place: "Greenland became a possession of Denmark in 1380 when the Norwegian kingdom came under the Danish Crown."
<littlebuddy> But that's a topic for another discussion. Still though it has some of the most beautiful rubies in the world:
<littlebuddy> Ága - Official Trailer - https://www.youtube.com/watch?v=zdD17TV2-84
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
infinity_fye has joined #ruby
infinityfye has quit [Killed (NickServ (GHOST command used by infinity_fye!~infinityf@197.48.71.240))]
infinity_fye is now known as infinityfye
nirvdrum has quit [Quit: nirvdrum]
skuntee4 has joined #ruby
dionysus69 has joined #ruby
nirvdrum has joined #ruby
ur5us has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
hightower2 has quit [Ping timeout: 246 seconds]
nirvdrum has quit [Quit: nirvdrum]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
jpn has joined #ruby
markong has joined #ruby
CrazyEddy has joined #ruby
archsinner has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
Pixi` has joined #ruby
shiru has joined #ruby
Pixi has quit [Ping timeout: 265 seconds]
skuntee4 has quit [Ping timeout: 265 seconds]
skuntee4 has joined #ruby
m-antis has joined #ruby
m-antis has quit [Remote host closed the connection]
markong has quit [Ping timeout: 246 seconds]
Attlee2 has joined #ruby
Attlee2 has quit [Client Quit]
shiru has quit [Quit: leaving]
graywolf has joined #ruby
hightower2 has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
graywolf has quit [Quit: WeeChat 3.5]
aeris has quit [Ping timeout: 258 seconds]
aeris has joined #ruby
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp has joined #ruby
r3m has quit [Quit: WeeChat 3.7-dev]
r3m has joined #ruby
Mikaela has joined #ruby
Aminda has quit [Remote host closed the connection]
eddof13 has joined #ruby
libsys has quit [Read error: Connection reset by peer]
libsys has joined #ruby
royo25 has quit [Quit: Bye]
jetchisel has quit [Ping timeout: 250 seconds]
jetchisel has joined #ruby
protektwar has quit [Ping timeout: 268 seconds]
joto has joined #ruby
archsinner has quit [Remote host closed the connection]
zoknert has joined #ruby
joast has quit [Quit: Leaving.]
Pixi` has quit [Quit: Leaving]
Pixi has joined #ruby
zoknert has quit [Ping timeout: 252 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cAMP has quit [Remote host closed the connection]
Mikaela has quit [Remote host closed the connection]
Mikaela has joined #ruby
TomyWork has quit [Remote host closed the connection]
Mikaela has quit [Ping timeout: 258 seconds]
Mikaela has joined #ruby
archsinner has joined #ruby
jpn has quit [Ping timeout: 264 seconds]
_ht has joined #ruby
moldorcoder7 has joined #ruby
jpn has joined #ruby
reset has quit [Quit: reset]
skuntee4 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
skuntee4 has joined #ruby
zoknert has joined #ruby
archsinner has quit [Quit: archsinner]
dionysus69 has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
howdoi has joined #ruby
nirvdrum has joined #ruby
duds- has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
_ht has quit [Remote host closed the connection]
zoknert has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
zoknert has joined #ruby
jpn has quit [Ping timeout: 265 seconds]
Vonter has quit [Ping timeout: 265 seconds]
dostoyevsky2 has quit [Quit: leaving]
zoknert has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
dostoyevsky2 has joined #ruby
duds- has quit [Ping timeout: 252 seconds]
hightower3 has joined #ruby
joast has joined #ruby
hightower2 has quit [Ping timeout: 246 seconds]
kristianpaul has joined #ruby
<kristianpaul> o/
<kristianpaul> Is there a way to execute a script provided by a gem that usually would run find with bundle exec xxx but i want to run it using absolute path
<kristianpaul> ?
<weaksauce> alias that script?
<adam12> kristianpaul: Might need to set an ENV var... like BUNDLE_PATH or something.
<weaksauce> does the script require anything fro the bundle?
<kristianpaul> the script requires other gems installed using bundle yeah
<kristianpaul> oh, setting BUNDLE_PATH seems to be it..
* kristianpaul builds dockerfile again
skuntee4 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
infinityfye has quit [Quit: Leaving]
cocalero has joined #ruby
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
zoknert has joined #ruby
ahayworth has quit [Quit: ZNC - https://znc.in]
ahayworth has joined #ruby
ur5us has joined #ruby
zoknert has quit [Ping timeout: 244 seconds]
libsys has quit [Ping timeout: 246 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
markong has joined #ruby