occultist8128

joined 3 months ago
[–] [email protected] 2 points 2 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.

[–] [email protected] 1 points 2 months ago* (last edited 2 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 :)

[–] [email protected] 4 points 2 months ago
[–] [email protected] 1 points 2 months ago (1 children)

sad to be trump supporter here tho lol

[–] [email protected] 9 points 2 months ago

c/dankmemes

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago)

2nd indonesia president, soeharto.

[–] [email protected] 1 points 2 months ago

ppl just don't get it ig lol

[–] [email protected] 3 points 2 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?

[–] [email protected] 2 points 2 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

[–] [email protected] 2 points 2 months ago

yes but i'm not a fan of him personally... if someone likes justin bieber songs doesn't mean that the person also likes justin bieber. that manifesto is kinda interesting for me to get more into anarchism since the points there are similar to anarchist principal imo. thanks for the reference tho :]

[–] [email protected] 1 points 2 months ago

i'm not a fan of him personally, i just like his text. the question is all fav text/blog/writings, not fav person. i know the Unabomber manifesto doesn't represent anarchism totally but the points inside similar to anarchist principal imo.

[–] [email protected] 0 points 2 months ago* (last edited 2 months ago) (2 children)

wtf do u mean 😭 as an asian i don't get it when people on the internet saying "fed" things. OP asked so i tell mine, i found anarchism like 2 years ago cuz i was interested learning philosophy from my lectures.

view more: ‹ prev next ›