添加一些对代码理解的注释
This commit is contained in:
parent
999b395763
commit
725b2749e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue