Class: ChaosDetector::ChaosGraphs::DomainMetrics
- Inherits:
-
Object
- Object
- ChaosDetector::ChaosGraphs::DomainMetrics
- Defined in:
- lib/chaos_detector/chaos_graphs/domain_metrics.rb
Instance Attribute Summary collapse
-
#dep_count ⇒ Object
readonly
Returns the value of attribute dep_count.
-
#dep_count_norm ⇒ Object
readonly
Returns the value of attribute dep_count_norm.
Instance Method Summary collapse
-
#initialize ⇒ DomainMetrics
constructor
A new instance of DomainMetrics.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ DomainMetrics
Returns a new instance of DomainMetrics.
11 12 13 14 |
# File 'lib/chaos_detector/chaos_graphs/domain_metrics.rb', line 11 def initialize @dep_count = 0 @dep_count_norm = 0.0 end |
Instance Attribute Details
#dep_count ⇒ Object (readonly)
Returns the value of attribute dep_count.
8 9 10 |
# File 'lib/chaos_detector/chaos_graphs/domain_metrics.rb', line 8 def dep_count @dep_count end |
#dep_count_norm ⇒ Object (readonly)
Returns the value of attribute dep_count_norm.
9 10 11 |
# File 'lib/chaos_detector/chaos_graphs/domain_metrics.rb', line 9 def dep_count_norm @dep_count_norm end |
Instance Method Details
#to_s ⇒ Object
16 |
# File 'lib/chaos_detector/chaos_graphs/domain_metrics.rb', line 16 def to_s; end |