Class: RuboCop::Cop::Memosa::MethodDefinition
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Memosa::MethodDefinition
- Defined in:
- lib/rubocop/cop/memosa.rb
Overview
This cop checks for memoized methods that accept arguments or yield.
Constant Summary collapse
- MSG =
"`memoize` should precede a method definition (e.g. `memoize def`)"