Class Scout::Plugin
In: lib/scout/plugin.rb
Parent: Object

Methods

data_for_server   inherited   load   memory   new   option   remember   run  

Attributes

last_defined  [RW] 

Public Class methods

Public Instance methods

Usage:

  memory(:no_track)
  memory.delete(:no_track)
  memory.clear

Usage:

  remember(:name, value)
  remember(:name1, value1, :name2, value2)
  remember(:name => value)
  remember(:name1 => value1, :name2 => value2)
  remember(:name1, value1, :name2 => value2)

Old plugins will work because they override this method. New plugins can now leave this method in place, add a build_report() method instead, and use the new helper methods to build up content inside which will automatically be returned as the end result of the run.

[Validate]