havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.1, 2.6.6, 2.5.8: 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!
RiPuk has quit [Quit: ZNC 1.7.5 - https://znc.in]
RiPuk has joined #ruby
markopasha has quit [Remote host closed the connection]
orbyt_ has joined #ruby
ur5us has joined #ruby
MadLamb has quit [Ping timeout: 256 seconds]
mheld has joined #ruby
markoong has quit [Ping timeout: 265 seconds]
twe4ked has quit [Read error: Connection reset by peer]
brool has joined #ruby
twe4ked has joined #ruby
twe4ked has quit [Read error: Connection reset by peer]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
twe4ked has joined #ruby
twe4ked has quit [Read error: Connection reset by peer]
twe4ked has joined #ruby
twe4ked has quit [Read error: Connection reset by peer]
jetchisel has joined #ruby
twe4ked has joined #ruby
apteryx has quit [Ping timeout: 260 seconds]
apteryx has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
johnny56_ has joined #ruby
ur5us has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
johnny56_ has quit [Ping timeout: 250 seconds]
Technodrome has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has joined #ruby
zlogan has quit [Ping timeout: 272 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zlogan has joined #ruby
ChmEarl has quit [Quit: Leaving]
SuperLag has quit [Quit: leaving]
SuperLag has joined #ruby
SuperLag has quit [Quit: leaving]
ellcs has quit [Ping timeout: 260 seconds]
dhollinger has quit [Ping timeout: 264 seconds]
dhollinger has joined #ruby
brool has quit [Ping timeout: 260 seconds]
sergioro has quit [Read error: Connection reset by peer]
sergioro has joined #ruby
haylon has quit [Ping timeout: 250 seconds]
gix has quit [Disconnected by services]
zacts has joined #ruby
sergioro has quit [Quit: leaving]
johnny56_ has joined #ruby
sergioro has joined #ruby
johnny56_ has quit [Ping timeout: 256 seconds]
xNetX0 has quit [Quit: changing servers]
xNetX0 has joined #ruby
johnny56_ has joined #ruby
stapler has joined #ruby
<stapler> question, i have a pretty thin wrapper over a rest api, and im wondering how to do something like a decorator in python such that the methods that call out to the api can check for a given error response (eg invalid key)
<stapler> that is, instead of writing the check in each method, writing the check only once and somehow applying that to the methods in the class
johnny56_ has quit [Ping timeout: 265 seconds]
mheld has quit [Quit: Connection closed for inactivity]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
miskatonic has joined #ruby
johnny56_ has joined #ruby
johnny56_ has quit [Ping timeout: 265 seconds]
johnny56 has joined #ruby
johnny56 has quit [Read error: Connection reset by peer]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
jcalla has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubydoc has quit [Ping timeout: 265 seconds]
buckworst has joined #ruby
rubydoc has joined #ruby
astronautical has joined #ruby
cthulchu has quit [Ping timeout: 256 seconds]
rubydoc has quit [Ping timeout: 264 seconds]
rubydoc has joined #ruby
<havenwood> stapler: Ruby has the Delegator class. SimpleDelegator sounds like it'd work for your case.
xco has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
hassox has quit [Remote host closed the connection]
buckworst has quit [Quit: WeeChat 2.8]
cd has quit [Quit: cd]
<stapler> havenwood: i see, thanks
<havenwood> stapler: Just for fun, here's an implementation: https://gist.github.com/havenwood/62aed5908f3f502b9abe7b9b774dad5a
<havenwood> stapler: Here ^ the `prepend` needs to go at the end of the class, which I think is annoying.
tpanarch1st has quit [Quit: Thanks for your help, nice to see you, take care.]
miskatonic has joined #ruby
ByronJohnson has quit [Ping timeout: 240 seconds]
tpanarch1st has joined #ruby
chalkmonster has joined #ruby
ByronJohnson has joined #ruby
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 260 seconds]
astronautical has quit [Quit: Leaving]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
hiroaki has quit [Ping timeout: 240 seconds]
kinduff has quit [Read error: Connection reset by peer]
CommanderViral1 has quit [Quit: ZNC 1.7.1+deb1+bionic1 - https://znc.in]
hassox has joined #ruby
kinduff has joined #ruby
escherial has quit [Quit: The Lounge - https://thelounge.github.io]
johnny56 has joined #ruby
hassox has quit [Ping timeout: 256 seconds]
johnny56 has quit [Excess Flood]
johnny56 has joined #ruby
markopasha has joined #ruby
markopasha has quit [Max SendQ exceeded]
markopasha has joined #ruby
johnny56 has quit [Ping timeout: 256 seconds]
johnny56_ has joined #ruby
johnny56_ has quit [Ping timeout: 260 seconds]
johnny56 has joined #ruby
dasher00 has joined #ruby
johnny56_ has joined #ruby
johnny56 has quit [Ping timeout: 260 seconds]
johnny56_ has quit [Ping timeout: 260 seconds]
johnny56_ has joined #ruby
conta has joined #ruby
dviola has quit [Quit: WeeChat 2.8]
nullus has quit [Ping timeout: 260 seconds]
johnny56_ has quit [Ping timeout: 240 seconds]
stapler has quit [Quit: Connection closed for inactivity]
ur5us has joined #ruby
johnny56_ has joined #ruby
johnny56 has joined #ruby
johnny56_ has quit [Ping timeout: 265 seconds]
johnny56 has quit [Excess Flood]
Technodrome has joined #ruby
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
RiPuk has quit [Ping timeout: 256 seconds]
zacts has quit [Ping timeout: 272 seconds]
sergioro has quit [Quit: leaving]
zacts has joined #ruby
RiPuk has joined #ruby
schne1der has joined #ruby
johnny56 has joined #ruby
johnny56 has quit [Read error: Connection reset by peer]
JoL1hAHN has quit [Quit: WeeChat 1.4]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schne1der has quit [Ping timeout: 260 seconds]
dasher00 has quit [Ping timeout: 265 seconds]
skydiver has joined #ruby
zapata has quit [Ping timeout: 252 seconds]
skydiver has quit [Client Quit]
zapata has joined #ruby
dasher00 has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
markopasha has quit [Ping timeout: 265 seconds]
hassox has joined #ruby
rippa has joined #ruby
hassox has quit [Ping timeout: 256 seconds]
markopasha has joined #ruby
johnny56 has joined #ruby
johnny56 has quit [Excess Flood]
johnny56 has joined #ruby
TCZ has joined #ruby
infinityfye has joined #ruby
johnny56 has quit [Ping timeout: 265 seconds]
ur5us has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
TCZ has joined #ruby
dasher00 has quit [Ping timeout: 265 seconds]
TCZ has quit [Client Quit]
TCZ has joined #ruby
dionysus69 has joined #ruby
gix has joined #ruby
dasher00 has joined #ruby
markopasha has quit [Ping timeout: 256 seconds]
markoong has joined #ruby
xco has joined #ruby
johnny56 has joined #ruby
johnny56 has quit [Ping timeout: 256 seconds]
markong has joined #ruby
zapata has quit [Ping timeout: 265 seconds]
markoong has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
johnny56_ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xco> Passing just to say hello to all the Rubyists online 👋🏾😁
<xco> by*
chalkmonster has quit [Quit: WeeChat 2.8]
johnny56_ has quit [Ping timeout: 265 seconds]
dasher00 has quit [Ping timeout: 260 seconds]
JoL1hAHN has joined #ruby
johnny56_ has joined #ruby
dasher00 has joined #ruby
gavlee has quit [Excess Flood]
johnny56_ has quit [Ping timeout: 258 seconds]
dasher00 has quit [Ping timeout: 260 seconds]
chalkmonster has joined #ruby
bvdw has joined #ruby
Technodrome has joined #ruby
TCZ has joined #ruby
dasher00 has joined #ruby
jerome___ has joined #ruby
johnny56_ has joined #ruby
johnny56_ has quit [Ping timeout: 256 seconds]
johnny56_ has joined #ruby
rubydoc has quit [Ping timeout: 260 seconds]
rubydoc has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
conta has quit [Ping timeout: 256 seconds]
beaorn has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<beaorn> \quit
beaorn has quit [Client Quit]
dasher00 has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
TCZ has quit [Quit: Leaving]
conta has joined #ruby
conta has quit [Client Quit]
dasher00 has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
ChmEarl has joined #ruby
hassox has joined #ruby
hassox has quit [Ping timeout: 265 seconds]
xNetX0 has quit [Quit: changing servers]
xNetX0 has joined #ruby
akem_ has quit [Quit: Leaving]
nickwinlund1 has joined #ruby
<nickwinlund1> kovid is a very handy app
<nickwinlund1> you can check covid-19 cases worldwide or by country: sudo gem install kovid
nickwinlund1 has quit [Quit: WeeChat 1.9.1]
rubydoc has quit [Ping timeout: 265 seconds]
sagax has quit [Read error: Connection reset by peer]
rubydoc has joined #ruby
lineus has joined #ruby
lineus_ has quit [Ping timeout: 240 seconds]
brool has joined #ruby
akem has joined #ruby
d3bug has joined #ruby
sergioro has joined #ruby
akem has quit [Quit: Leaving]
davor_ has joined #ruby
davor has quit [Ping timeout: 260 seconds]
davor_ is now known as davor
Technodrome has joined #ruby
lxsameer has quit [Quit: WeeChat 2.7.1]
nullus has joined #ruby
lxsameer has joined #ruby
dasher00 has quit [Ping timeout: 265 seconds]
zapata has joined #ruby
dasher00 has joined #ruby
conta has joined #ruby
KamLy has joined #ruby
dviola has joined #ruby
KamLy has quit [Ping timeout: 260 seconds]
conta has quit [Quit: conta]
lxsameer has quit [Quit: WeeChat 2.8]
hassox has joined #ruby
dionysus69 has joined #ruby
lxsameer has joined #ruby
akem has joined #ruby
hassox has quit [Ping timeout: 256 seconds]
KamLy has joined #ruby
KamLy has quit [Ping timeout: 265 seconds]
x0f_ has joined #ruby
x0f has quit [Ping timeout: 256 seconds]
lxsameer has quit [Quit: WeeChat 2.8]
orbyt_ has joined #ruby
lxsameer has joined #ruby
x0f_ has quit [Ping timeout: 258 seconds]
x0f has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 2.8]
s2013 has joined #ruby
KamLy has joined #ruby
KamLy has quit [Ping timeout: 260 seconds]
zapata has quit [Quit: WeeChat 2.8]
kent\n has quit [Ping timeout: 256 seconds]
kent\n has joined #ruby
zapata has joined #ruby
<havenwood> :)
<xco> havenwood 😍😝
<xco> havenwood we made a dent in the world hahahahhaha
<xco> ok that was supposed to be universe lol
<xco> but you get it :P
chalkmonster has quit [Quit: WeeChat 2.8]
mtkd has joined #ruby
infinityfye has quit [Read error: Connection reset by peer]
<apotheon> I don't get it.
sagax has joined #ruby
hiroaki has joined #ruby
SuperLag has joined #ruby
miskatonic has joined #ruby
hutch has quit [Ping timeout: 265 seconds]
sergioro has quit [Quit: leaving]
cd has joined #ruby
hutch has joined #ruby
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
hiroaki has quit [Quit: Leaving]
xNetX0 has quit [Quit: changing servers]
xNetX0 has joined #ruby
^mtkd has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
siery has quit [Ping timeout: 250 seconds]
schne1der has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
ur5us has joined #ruby
lxsameer has joined #ruby
dasher00 has quit [Ping timeout: 260 seconds]
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
<havenwood> I actually really do like Nobu's implementation of endless method definition... https://github.com/ruby/ruby/pull/2996
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
<havenwood> It seems useful to the reader to designate methods that are no more than an argument expression. I feel like a fair number of recent feature originated out of Elixir envy. :)
TCZ has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
tpanarch1st has quit [Ping timeout: 264 seconds]
mn3m has quit [Remote host closed the connection]
mn3m has joined #ruby
dasher00 has joined #ruby
chalkmonster has joined #ruby
caterfxo has quit [Ping timeout: 260 seconds]
<havenwood> Please upvote if you like it, and ignore this post if you dislike it. :P
dasher00 has quit [Ping timeout: 258 seconds]
vondruch has quit [Ping timeout: 260 seconds]
caterfxo has joined #ruby
dasher00 has joined #ruby
ldepandis has joined #ruby
KamLy has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
sergioro has joined #ruby
ferche23 has joined #ruby
ferche23 has quit [Max SendQ exceeded]
ferche23 has joined #ruby
lineus_ has joined #ruby
markong has quit [Ping timeout: 265 seconds]
lineus has quit [Ping timeout: 240 seconds]
markong has joined #ruby
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23 has quit [Ping timeout: 260 seconds]
ferche23_ has joined #ruby
TCZ has quit [Quit: Leaving]
davor has quit [Ping timeout: 256 seconds]
davor has joined #ruby
_phaul has joined #ruby
phaul has quit [Ping timeout: 264 seconds]
caterfxo has quit [Ping timeout: 265 seconds]
chalkmonster has quit [Quit: WeeChat 2.8]
schne1der has quit [Ping timeout: 240 seconds]
ferche23_ has quit [Ping timeout: 265 seconds]
markoong has joined #ruby
caterfxo has joined #ruby
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
markong has quit [Ping timeout: 256 seconds]
markong has joined #ruby
<apotheon> re: kovid, also this: http://copyfree.org/resources/works/#sarskov
markoong has quit [Ping timeout: 258 seconds]
<apotheon> (just mentioning Ruby stuff that ended up on that list)
markoong has joined #ruby
markong has quit [Ping timeout: 258 seconds]
markong has joined #ruby
markoong has quit [Ping timeout: 250 seconds]
markoong has joined #ruby
markong has quit [Ping timeout: 265 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
dasher00 has quit [Ping timeout: 256 seconds]
hutch has joined #ruby
vondruch has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dasher00 has joined #ruby
ldepandis has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has quit [Read error: Connection reset by peer]
ExoUNX has joined #ruby
rmnull has joined #ruby
hutch has joined #ruby
orbyt_ has joined #ruby
TCZ has joined #ruby
darkstardev13 has quit [Read error: Connection reset by peer]
darkstardev13 has joined #ruby
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
xco has quit [Remote host closed the connection]
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
TCZ has quit [Quit: Leaving]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Remote host closed the connection]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ExoUNX has quit [Ping timeout: 256 seconds]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ferche23_ has joined #ruby
markong has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
ferche23_ has quit [Max SendQ exceeded]
ferche23_ has joined #ruby
markoong has quit [Ping timeout: 265 seconds]
ferche23_ has quit [Max SendQ exceeded]