Class: PrivateDetective::AnalyzeProject
- Inherits:
-
Object
- Object
- PrivateDetective::AnalyzeProject
- Defined in:
- lib/private_detective/analyze_project.rb
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
-
#report ⇒ Object
Returns the value of attribute report.
Instance Method Summary collapse
- #analyze_project ⇒ Object
-
#initialize(files:) ⇒ AnalyzeProject
constructor
A new instance of AnalyzeProject.
Constructor Details
#initialize(files:) ⇒ AnalyzeProject
Returns a new instance of AnalyzeProject.
10 11 12 13 |
# File 'lib/private_detective/analyze_project.rb', line 10 def initialize(files:) @files = files @report = {} end |
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
7 8 9 |
# File 'lib/private_detective/analyze_project.rb', line 7 def files @files end |
#report ⇒ Object
Returns the value of attribute report.
7 8 9 |
# File 'lib/private_detective/analyze_project.rb', line 7 def report @report end |
Instance Method Details
#analyze_project ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/private_detective/analyze_project.rb', line 15 def analyze_project analyze_files filter_report show_report # Exit the IRB session after the report is shown exit end |