Class: Counter::Cache::Counters::BufferCounter::Key
- Inherits:
-
Struct
- Object
- Struct
- Counter::Cache::Counters::BufferCounter::Key
- Defined in:
- lib/counter/cache/counters/buffer_counter/key.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#source_object ⇒ Object
Returns the value of attribute source_object.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options
5 6 7 |
# File 'lib/counter/cache/counters/buffer_counter/key.rb', line 5 def @options end |
#source_object ⇒ Object
Returns the value of attribute source_object
5 6 7 |
# File 'lib/counter/cache/counters/buffer_counter/key.rb', line 5 def source_object @source_object end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/counter/cache/counters/buffer_counter/key.rb', line 6 def to_s "cc:#{relation_finder.relation_class.to_s[0..1]}:#{relation_finder.relation_id}:#{column}" end |