Module Stella::Report::Plugin::ClassMethods

  1. lib/stella/report.rb

Methods

public instance

  1. process
  2. register

Attributes

plugin [R]

Public instance methods

process (*args)
[show source]
# File lib/stella/report.rb, line 61
        def process *args
          raise StellaError, "Must override run"
        end
register (plugin)
[show 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