Class: Pod::PodTarget
- Inherits:
-
Target
- Object
- Target
- Pod::PodTarget
- Defined in:
- lib/core_blur/thin/pod_target.rb
Instance Attribute Summary collapse
-
#reference_count ⇒ Object
Returns the value of attribute reference_count.
Instance Method Summary collapse
Instance Attribute Details
#reference_count ⇒ Object
Returns the value of attribute reference_count.
3 4 5 |
# File 'lib/core_blur/thin/pod_target.rb', line 3 def reference_count @reference_count end |
Instance Method Details
#max_reference_count ⇒ Object
4 5 6 7 8 9 |
# File 'lib/core_blur/thin/pod_target.rb', line 4 def max_reference_count self.reference_count = 99999 self.dependent_targets.each do |dep| dep.max_reference_count end end |
#reduce_reference_count ⇒ Object
10 11 12 13 14 15 |
# File 'lib/core_blur/thin/pod_target.rb', line 10 def reduce_reference_count self.reference_count -= 1 self.dependent_targets.each do |dep| dep.reduce_reference_count end end |