Class: Senren::Rails::Doctor
- Inherits:
-
Object
- Object
- Senren::Rails::Doctor
- Defined in:
- lib/senren/rails/doctor.rb
Overview
Runs a series of checks against the host Rails app and prints a human-readable status report.
Defined Under Namespace
Classes: Result
Instance Attribute Summary collapse
-
#paths ⇒ Object
readonly
Returns the value of attribute paths.
-
#stdout ⇒ Object
readonly
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize(paths: HostPaths.new, stdout: $stdout) ⇒ Doctor
constructor
A new instance of Doctor.
- #run! ⇒ Object
Constructor Details
Instance Attribute Details
#paths ⇒ Object (readonly)
Returns the value of attribute paths.
12 13 14 |
# File 'lib/senren/rails/doctor.rb', line 12 def paths @paths end |
#stdout ⇒ Object (readonly)
Returns the value of attribute stdout.
12 13 14 |
# File 'lib/senren/rails/doctor.rb', line 12 def stdout @stdout end |