Class: RuboCop::Cop::BaseInteractorCop

Inherits:
Base
  • Object
show all
Defined in:
lib/interactor_support/rubocop/cop/base_interactor_cop.rb

Direct Known Subclasses

UnusedIncludedModules, UsedUnincludedModules

Instance Method Summary collapse

Instance Method Details

#on_class(node) ⇒ Object



8
9
10
# File 'lib/interactor_support/rubocop/cop/base_interactor_cop.rb', line 8

def on_class(node)
  check_interactor_usage(node)
end

#on_module(node) ⇒ Object



12
13
14
# File 'lib/interactor_support/rubocop/cop/base_interactor_cop.rb', line 12

def on_module(node)
  check_interactor_usage(node)
end