# File lib/stella/report.rb, line 53 def register(plugin) @plugin = plugin extra_methods = eval "#{self}::ReportMethods" rescue nil Stella::Report.send(:include, extra_methods) if extra_methods Stella::Report.field plugin => self Stella::Report.plugins[plugin] = self Stella::Report.plugin_order << plugin end