gem 'ruby-lsp'
bundle installgem install ruby-lsp のようにグローバルにインストールしても動かない。

https://stackoverflow.com/questions/25715454/how-to-yard-document-a-method-that-returns-nothing




User.find_in_batches(batch_size: 500) do |users|
users.each do |user|
user.name = user.name + '!'
user.record_timestamps = false # updated_atを変更しないようにする
user.save
p user.name
end
end
bundle exec yard gems