Class: Servactory::Actions::Tools::Rules

Inherits:
Object
  • Object
show all
Defined in:
lib/servactory/actions/tools/rules.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context) ⇒ Rules

Returns a new instance of Rules.



24
25
26
# File 'lib/servactory/actions/tools/rules.rb', line 24

def initialize(context)
  @context = context
end

Class Method Details

.check!Object



20
21
22
# File 'lib/servactory/actions/tools/rules.rb', line 20

def self.check!(...)
  new(...).check!
end

Instance Method Details

#check!Object



28
29
30
31
32
# File 'lib/servactory/actions/tools/rules.rb', line 28

def check!
  check_public_methods!
  check_protected_methods!
  check_private_methods!
end