添加一些对代码理解的注释

This commit is contained in:
lizanle 2015-02-02 09:52:50 +08:00
parent 999b395763
commit 725b2749e2
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ module Redmine
module ClassMethods
def acts_as_activity_provider(options = {})
# Time 2015-01-31 13:54:34
# Author lizanle
# Description mod.included_modules -> array
# 返回mod包含的 modules数组
unless self.included_modules.include?(Redmine::Acts::ActivityProvider::InstanceMethods)
cattr_accessor :activity_provider_options
send :include, Redmine::Acts::ActivityProvider::InstanceMethods