Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migration | ||
custom_error_class.rb | ||
gem_fetcher.rb |
BigW Consortium Gitlab
From the Ruby style guide: # bad class FooError < StandardError end # okish class FooError < StandardError; end # good FooError = Class.new(StandardError) This cop does that, but only for error classes (classes where the superclass ends in 'Error'). We have empty controllers and models, which are perfectly valid empty classes.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migration | Loading commit data... | |
custom_error_class.rb | Loading commit data... | |
gem_fetcher.rb | Loading commit data... |