We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b0d142 commit eb5fb5fCopy full SHA for eb5fb5f
lib/code_teams.rb
@@ -97,6 +97,7 @@ def self.from_hash(raw_hash)
97
sig { void }
98
def self.register_plugins
99
Plugin.all_plugins.each do |plugin|
100
+ # e.g. def github (on Team)
101
define_method(plugin.data_accessor_name) do
102
# e.g., MyGithubPlugin.for(team).github
103
plugin.for(self).public_send(plugin.data_accessor_name)
0 commit comments