For further actions, you may consider blocking this person and/or reporting abuse
Read next
Ruby Debugging, VS Code, Gems, and Bundler!
Luigi Antonio Guillen -
Securing Rails Active Storage Direct Uploads
Given Ncube -
How to install bootstrap 5 with Webpacker in a Ruby on Rails 6 application on Ubuntu
Alexandre Calaça -
Error: rbenv install 3.3.4 - ruby-build: definition not found: 3.3.4
Alexandre Calaça -
Top comments (1)
Endless method definition is a mind-twister of a term but I like the idea of defining methods with the assignment operator. It's a nice halfway between using instance vars that do a bit more than
attr_accessor
s and methods. On the other hand, when I scan Ruby by eye, my eye skips to the next line as soon as I've readdef method_name
and endless methods make it a bit harder for my brain to scan them (though, that's only habit).