Class: Tracker::Base
- Inherits:
-
Object
- Object
- Tracker::Base
- Defined in:
- lib/liquid/tracker/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#serializer ⇒ Object
Returns the value of attribute serializer.
Instance Method Summary collapse
-
#initialize(dimensions = {}) ⇒ Base
constructor
A new instance of Base.
- #with_topic(topic) ⇒ Object
Constructor Details
#initialize(dimensions = {}) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/liquid/tracker/base.rb', line 7 def initialize(dimensions = {}) @serializer = JsonSerializer.new(dimensions) end |
Instance Attribute Details
#serializer ⇒ Object
Returns the value of attribute serializer.
5 6 7 |
# File 'lib/liquid/tracker/base.rb', line 5 def serializer @serializer end |