Class: CodeHunter::RailsBestPractices
- Inherits:
-
Object
- Object
- CodeHunter::RailsBestPractices
- Defined in:
- lib/code_hunter/rails_best_practices.rb,
lib/code_hunter/rails_best_practices/invoker.rb,
lib/code_hunter/rails_best_practices/summarizer.rb
Defined Under Namespace
Classes: Invoker, Summarizer
Constant Summary collapse
- TEMPORAL_PATHNAME =
Pathname.new("#{Dir.tmpdir}/rails_best_practices.html")
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ RailsBestPractices
constructor
A new instance of RailsBestPractices.
- #run ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ RailsBestPractices
Returns a new instance of RailsBestPractices.
15 16 17 |
# File 'lib/code_hunter/rails_best_practices.rb', line 15 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
10 11 12 |
# File 'lib/code_hunter/rails_best_practices.rb', line 10 def @options end |
Instance Method Details
#run ⇒ Object
19 20 21 22 23 24 |
# File 'lib/code_hunter/rails_best_practices.rb', line 19 def run invoke summarize ensure clean end |