Class: Senren::Rails::Doctor::Result
- Inherits:
-
Struct
- Object
- Struct
- Senren::Rails::Doctor::Result
- Defined in:
- lib/senren/rails/doctor.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#label ⇒ Object
Returns the value of attribute label.
-
#ok ⇒ Object
Returns the value of attribute ok.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
8 9 10 |
# File 'lib/senren/rails/doctor.rb', line 8 def detail @detail end |
#label ⇒ Object
Returns the value of attribute label
8 9 10 |
# File 'lib/senren/rails/doctor.rb', line 8 def label @label end |
#ok ⇒ Object
Returns the value of attribute ok
8 9 10 |
# File 'lib/senren/rails/doctor.rb', line 8 def ok @ok end |
Instance Method Details
#icon ⇒ Object
9 |
# File 'lib/senren/rails/doctor.rb', line 9 def icon = ok ? '✓' : '✗' |