Module: RDoc::DcovHelpers

Included in:
AnyMethod, NormalClass, NormalModule
Defined in:
lib/dcov/analyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#reporting_dataObject

Returns the value of attribute reporting_data.



13
14
15
# File 'lib/dcov/analyzer.rb', line 13

def reporting_data
  @reporting_data
end

Instance Method Details

#full_nameObject



21
22
23
24
25
26
27
28
29
30
# File 'lib/dcov/analyzer.rb', line 21

def full_name
  hierarchy = self.name
  inspect = self
  while (hier_piece = inspect.parent)
    hierarchy = hier_piece.name + "::" + hierarchy unless hier_piece.name == 'TopLevel'
    inspect = hier_piece
  end
  
  hierarchy
end

#initialize(*args) ⇒ Object



15
16
17
18
19
# File 'lib/dcov/analyzer.rb', line 15

def initialize(*args)
  super(*args)
  @reporting_data = {}
  initialize_reporting_data
end