Class: BigBench::Tracker::Tracker

Inherits:
Object
  • Object
show all
Defined in:
lib/bigbench/tracker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTracker

Returns a new instance of Tracker.



16
17
18
# File 'lib/bigbench/tracker.rb', line 16

def initialize
  @trackings = []
end

Instance Attribute Details

#trackingsObject

Returns the value of attribute trackings.



14
15
16
# File 'lib/bigbench/tracker.rb', line 14

def trackings
  @trackings
end

Instance Method Details

#track(object) ⇒ Object



20
21
22
# File 'lib/bigbench/tracker.rb', line 20

def track object
  @trackings << object
end