Class: Servactory::Actions::Tools::Rules
- Inherits:
-
Object
- Object
- Servactory::Actions::Tools::Rules
- Defined in:
- lib/servactory/actions/tools/rules.rb
Class Method Summary collapse
Instance Method Summary collapse
- #check! ⇒ Object
-
#initialize(context) ⇒ Rules
constructor
A new instance of Rules.
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 |