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 834ea3b commit c640b92Copy full SHA for c640b92
lib/code_teams.rb
@@ -96,6 +96,7 @@ def self.from_hash(raw_hash)
96
sig { void }
97
def self.register_plugins
98
Plugin.all_plugins.each do |plugin|
99
+ # e.g. def github (on Team)
100
define_method(plugin.data_accessor_name) do
101
# e.g., MyGithubPlugin.for(team).github
102
plugin.for(self).public_send(plugin.data_accessor_name)
0 commit comments