Module: Impressionist::CounterCache
- Included in:
- Impression
- Defined in:
- lib/impressionist/counter_cache.rb
Instance Attribute Summary collapse
-
#entity ⇒ Object
readonly
Returns the value of attribute entity.
-
#impressionable_class ⇒ Object
readonly
Returns the value of attribute impressionable_class.
Instance Attribute Details
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
4 5 6 |
# File 'lib/impressionist/counter_cache.rb', line 4 def entity @entity end |
#impressionable_class ⇒ Object (readonly)
Returns the value of attribute impressionable_class.
4 5 6 |
# File 'lib/impressionist/counter_cache.rb', line 4 def impressionable_class @impressionable_class end |