Class: Updawg::Configuration
- Inherits:
-
Object
- Object
- Updawg::Configuration
- Defined in:
- lib/updawg.rb
Instance Attribute Summary collapse
-
#error_text ⇒ Object
Returns the value of attribute error_text.
-
#success_text ⇒ Object
Returns the value of attribute success_text.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#warning_text ⇒ Object
Returns the value of attribute warning_text.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 |
# File 'lib/updawg.rb', line 10 def initialize self.error_text = 'ERROR' self.warning_text = 'WARNING' self.success_text = 'PASS' self.timeout = 30 end |
Instance Attribute Details
#error_text ⇒ Object
Returns the value of attribute error_text.
8 9 10 |
# File 'lib/updawg.rb', line 8 def error_text @error_text end |
#success_text ⇒ Object
Returns the value of attribute success_text.
8 9 10 |
# File 'lib/updawg.rb', line 8 def success_text @success_text end |
#timeout ⇒ Object
Returns the value of attribute timeout.
8 9 10 |
# File 'lib/updawg.rb', line 8 def timeout @timeout end |
#warning_text ⇒ Object
Returns the value of attribute warning_text.
8 9 10 |
# File 'lib/updawg.rb', line 8 def warning_text @warning_text end |