Parent

Methods

Rackamole::Stash::Base

Stash mole information into the env. These objects are meant to track instances of a similar event occurring in the application so that alerts are kept under control when shit hits the fan...

Attributes

path[R]
timestamp[R]
count[R]

Public Class Methods

new( path, timestamp ) click to toggle source
    # File lib/rackamole/stash/base.rb, line 11
11:       def initialize( path, timestamp )
12:         @path      = path
13:         @count     = 1
14:         @timestamp = timestamp
15:       end

Public Instance Methods

update( timestamp ) click to toggle source

Update count and timestamp

    # File lib/rackamole/stash/base.rb, line 20
20:       def update( timestamp )
21:         @timestamp  = timestamp
22:         @count     += 1
23:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.