Class: RailsArchitect::SolidAnalyzer
- Inherits:
-
Object
- Object
- RailsArchitect::SolidAnalyzer
- Defined in:
- lib/rails_architect/solid_analyzer.rb
Instance Attribute Summary collapse
-
#issues ⇒ Object
readonly
Returns the value of attribute issues.
Instance Method Summary collapse
- #analyze ⇒ Object
-
#initialize ⇒ SolidAnalyzer
constructor
A new instance of SolidAnalyzer.
Constructor Details
#initialize ⇒ SolidAnalyzer
Returns a new instance of SolidAnalyzer.
7 8 9 |
# File 'lib/rails_architect/solid_analyzer.rb', line 7 def initialize @issues = [] end |
Instance Attribute Details
#issues ⇒ Object (readonly)
Returns the value of attribute issues.
5 6 7 |
# File 'lib/rails_architect/solid_analyzer.rb', line 5 def issues @issues end |
Instance Method Details
#analyze ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/rails_architect/solid_analyzer.rb', line 11 def analyze check_single_responsibility check_open_closed check_liskov_substitution check_interface_segregation check_dependency_inversion end |