Skip to content

Commit c640b92

Browse files
committed
Update code_teams.rb
1 parent 834ea3b commit c640b92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/code_teams.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def self.from_hash(raw_hash)
9696
sig { void }
9797
def self.register_plugins
9898
Plugin.all_plugins.each do |plugin|
99+
# e.g. def github (on Team)
99100
define_method(plugin.data_accessor_name) do
100101
# e.g., MyGithubPlugin.for(team).github
101102
plugin.for(self).public_send(plugin.data_accessor_name)

0 commit comments

Comments
 (0)