Class: ChaosDetector::ChaosGraphs::DomainMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/chaos_detector/chaos_graphs/domain_metrics.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDomainMetrics

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_countObject (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_normObject (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_sObject



16
# File 'lib/chaos_detector/chaos_graphs/domain_metrics.rb', line 16

def to_s; end