Class: Churnalizer::Analyzer
- Inherits:
-
Object
- Object
- Churnalizer::Analyzer
- Defined in:
- lib/churnalizer/analyzer.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ Analyzer
constructor
A new instance of Analyzer.
- #run ⇒ Object
Constructor Details
#initialize(path) ⇒ Analyzer
Returns a new instance of Analyzer.
9 10 11 |
# File 'lib/churnalizer/analyzer.rb', line 9 def initialize(path) @path = File. path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
8 9 10 |
# File 'lib/churnalizer/analyzer.rb', line 8 def path @path end |
Instance Method Details
#run ⇒ Object
13 14 15 |
# File 'lib/churnalizer/analyzer.rb', line 13 def run build_graph analyzed_files end |