2 def initialize summary_conf
3 @summary_conf = summary_conf || {}
4 @type_conf = @summary_conf['type'] || 'none'
5 @type_method = self.type_method
19 def type_none view, item, operators
23 def type_template view, item, operators
24 view.render item.path_name + '/' + @summary_conf['name'], :item => item
28 self.type_method != :type_none
31 def render view, item, operators
32 self.__send__(@type_method, view, item, operators)