aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'hrc/core.py')
-rw-r--r--hrc/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hrc/core.py b/hrc/core.py
index b346654..729f069 100644
--- a/hrc/core.py
+++ b/hrc/core.py
@@ -638,7 +638,7 @@ class Core:
self._extend_rule_dirs.extend(dirs)
self._load_rules_from_dirs(*dirs)
- def get_plugin(self, name: str) -> Type[Rule[Any, Any, Any]]:
+ def get_rule(self, name: str) -> Type[Rule[Any, Any, Any]]:
for _rule in self.rules:
if _rule.__name__ == name:
return _rule