havenwood changed the topic of #ruby to: Ruby 3.4.1, 3.3.6 https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
Al2O3 has quit [Quit: Good mourning, good after nun, g'nite, and goober evenings.]
Linux_Kerio has quit [Ping timeout: 252 seconds]
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
R2robot has joined #ruby
MsInput has joined #ruby
trillion_exabyte has quit [Ping timeout: 252 seconds]
trillion_exabyte has joined #ruby
dviola has quit [Ping timeout: 272 seconds]
yosafbridge has quit [Quit: Leaving]
diego has joined #ruby
Al2O3 has joined #ruby
Al2O3 has quit [Client Quit]
yosafbridge has joined #ruby
diego has quit [Quit: WeeChat 4.5.1]
aesthetikx has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
brokkoli_origin has quit [Ping timeout: 265 seconds]
brokkoli_origin has joined #ruby
konsolebox has quit [Ping timeout: 252 seconds]
mahlon has quit [Ping timeout: 276 seconds]
teardown has quit [Remote host closed the connection]
teardown has joined #ruby
hwpplayer1 has joined #ruby
R2robot has quit [Quit: Pull the lever, Kronk. Wrong leverrrrrrr!]
R2robot has joined #ruby
mahlon has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
grenierm has joined #ruby
cappy has joined #ruby
konsolebox has joined #ruby
konsolebox has quit [Client Quit]
konsolebox has joined #ruby
Al2O3 has joined #ruby
Al2O3 has quit [Client Quit]
mahlon has quit [Ping timeout: 248 seconds]
georgemp has quit [Quit: ZNC - https://znc.in]
<havenwood> nakilon: I'd suggest discrete classes with #to_s rather than inheriting from String or DelegateClass of String.
<havenwood> nakilon: Basically, create that XML class, but no need for private methods per se.
<havenwood> nakilon: For example, using Data with a contrived Document: https://gist.github.com/havenwood/d37ddf0de6b6c5dc29cddd5832780304
<havenwood> You could memoize the #to_zip too, by making it a member as well.
<havenwood> Do keep it simple if you can. Usually it's best to avoid delegating to core classes unless you have a good reason.
<havenwood> Updated to memoize. The way I'm showing the XML is specific to a user. There are many ways to do it, but keep it simple.
___nick___ has joined #ruby
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
cappy has quit [Quit: Leaving]
aesthetikx has joined #ruby
MsInput has quit [Quit: WeeChat 4.5.0]
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #ruby
enwu has joined #ruby
user71 has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
hwpplayer1 has joined #ruby
<keremk> I had lots of trouble trying to get ruby-lsp working on Neovim partly thanks to NixOS complicating things further but I finally managed it. It works as long as I have ruby-lsp as a bundle in the project folder. Is it a good way to have the LSP inside the project though?
hwpplayer1 has quit [Remote host closed the connection]
konsolebox has quit [Quit: .]
brokkoli_origin has quit [Ping timeout: 272 seconds]
enwu has quit [Quit: The Lounge - https://thelounge.chat]
brokkoli_origin has joined #ruby
MsInput has joined #ruby
enwu has joined #ruby
donofrio has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
donofrio has joined #ruby
grenierm has quit [Ping timeout: 240 seconds]
donofrio has quit [Ping timeout: 252 seconds]
dviola has joined #ruby
<havenwood> keremk: I'd expect NeoVim to handle ruby-lsp better out of the box. With Helix it _just works_ pretty much. Install the gem and it's autodetected.
<havenwood> Maybe NixOS is the hangup, like you mention?
patrick has quit [Ping timeout: 248 seconds]
patrick_ is now known as patrick
MsInput has quit [Quit: WeeChat 4.5.0]
<keremk> havenwood: Yeah that's how it should be working, but alas, it just won't normally. I had to resort to making a Nixvim configuration to make it work. It turned out better so I don't mind now :) for NixOS, Mason was the biggest pain in the backside. It just won't work if you go the Mason route.
<snonux> ++ for Helix, worked for me pretty smoothly as well (ruby-lsp. Solargraph, Rubocop...):-)
<snonux> But i had to have a Gemfile specifying the Ruby version used for the current project, otherwise ruby-lsp would not detect endless methods
<snonux> I meant, I had tot have a gemspec
<snonux> s/tot/to/
___nick___ has quit [Ping timeout: 246 seconds]
hwpplayer1 has joined #ruby
loureir-or-not has joined #ruby
loureir-or-not has left #ruby [#ruby]
mretka has left #ruby [www.ZNCHost.com]
MsInput has joined #ruby
___nick___ has joined #ruby
VictorHugenay has joined #ruby
VictorHugenay has quit [Client Quit]
MsInput has quit [Quit: WeeChat 4.5.0]
___nick___ has quit [Ping timeout: 272 seconds]
user71 has quit [Quit: Leaving]
Sheilong has joined #ruby
graywolf has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
mahlon has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]