Is there a way to check ruby code to prevent 'NoMethodError' or 'NameError'?
I tried some gems: rubocop, reek, roodi. Useful tools for ruby best practices but not for my need.
I use vim so a cli tool will be welcome.
Thanks
Is there a way to check ruby code to prevent 'NoMethodError' or 'NameError'?
I tried some gems: rubocop, reek, roodi. Useful tools for ruby best practices but not for my need.
I use vim so a cli tool will be welcome.
Thanks
I found what I want :) : ruby-lint
https://rubygems.org/gems/ruby-lint/
https://github.com/YorickPeterse/ruby-lint
Analysis Classes:
* argument_amount
* pedantics
* shadowing_variables
* undefined_methods
* undefined_variables
* unused_variables
* useless_equality_checks
I search for "ruby static code checker"
Thank you for your help