User's banner
Avatar

occultist8128

occultist8128@infosec.pub
Joined
3 posts • 43 comments
Direct message

as I read top comment of a dumbass calling people who denounce Harris as confirmed Trump supporters…

i really hate this, same thing also happened to me in my country. i’m hating on the “B” candidate and people would assume i’m “A” supporter. i don’t believe any politician at all.

permalink
report
parent
reply

now i’m confused about why solargraph, which is said to be mature, can’t do that. and also i just realized it when i used map instead of select; the methods appeared.

wanna try RubyMine but i already comfortable in neovim. since RubyMine is an IDE i think my machine can’t handle that lol.

permalink
report
parent
reply

ahh thanks. might as well post this on reddit tho. ur reply made me really love ruby community here and reddit cuz u guys are helping and supportive <3

permalink
report
parent
reply

can RubyMine completion shows the method for word variable here?

# frozen_string_literal: true

array_of_strings = %w[foo fooo bar fioo]
oo = array_of_strings.select { |word| word.end_with?('oo') }
puts oo

for example the end_with? method cuz with both solargraph and ruby-lsp they don’t show any suggestions for the word variable at all.

permalink
report
parent
reply

i also use solargraph and ruby-lsp but i’m facing an issue with this code i wrote:

# frozen_string_literal: true

array_of_strings = %w[foo fooo bar fioo]
oo = array_of_strings.select { |word| word.end_with?('oo') }
puts oo

when i want to use end_with? method, both LSP don’t show any method for the word variable. do you know why is this happen? i also use neovim with coc.nvim for the LSP plugin. thanks for the reply btw :)

permalink
report
parent
reply

c/dankmemes

permalink
report
reply