Class: Capistrano::Doctor::OutputHelpers::Row
- Inherits:
-
Object
- Object
- Capistrano::Doctor::OutputHelpers::Row
- Defined in:
- lib/capistrano/doctor/output_helpers.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
- #<<(value) ⇒ Object
-
#initialize ⇒ Row
constructor
A new instance of Row.
- #yellow ⇒ Object
Constructor Details
#initialize ⇒ Row
Returns a new instance of Row.
12 13 14 |
# File 'lib/capistrano/doctor/output_helpers.rb', line 12 def initialize @values = [] end |
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color.
9 10 11 |
# File 'lib/capistrano/doctor/output_helpers.rb', line 9 def color @color end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
10 11 12 |
# File 'lib/capistrano/doctor/output_helpers.rb', line 10 def values @values end |
Instance Method Details
#<<(value) ⇒ Object
16 17 18 |
# File 'lib/capistrano/doctor/output_helpers.rb', line 16 def <<(value) values << value end |
#yellow ⇒ Object
20 21 22 |
# File 'lib/capistrano/doctor/output_helpers.rb', line 20 def yellow @color = :yellow end |