module Stella::Report::Plugin::ClassMethods
Attributes
plugin[R]
Public Instance Methods
process(*args)
click to toggle source
# File lib/stella/report.rb, line 61 def process *args raise StellaError, "Must override run" end
register(plugin)
click to toggle source
# 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