occultist8128

joined 1 year ago
MODERATOR OF
[–] occultist8128 2 points 11 months ago

the down votes T_T

[–] occultist8128 1 points 11 months ago* (last edited 11 months ago) (1 children)

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.

[–] occultist8128 2 points 11 months ago

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

[–] occultist8128 2 points 11 months ago (3 children)

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.

[–] occultist8128 1 points 11 months ago* (last edited 11 months ago) (2 children)

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 :)

[–] occultist8128 4 points 11 months ago
[–] occultist8128 1 points 11 months ago (1 children)

sad to be trump supporter here tho lol

[–] occultist8128 9 points 11 months ago

c/dankmemes

[–] occultist8128 6 points 11 months ago* (last edited 11 months ago)

2nd indonesia president, soeharto.

[–] occultist8128 1 points 11 months ago

ppl just don't get it ig lol

[–] occultist8128 2 points 11 months ago

yes, whatever lol i'm not a cop/fed/cia or some shit like that. why would a cop/fed comments here tho?

[–] occultist8128 1 points 11 months ago (2 children)

chill that's fine, i just don't get it why sometimes people call other people fed. at least show an argument why my comment is stupid lol

view more: ‹ prev next ›