Class: RBWatch::Dashboard::NullSpinner
- Inherits:
-
Object
- Object
- RBWatch::Dashboard::NullSpinner
- Defined in:
- lib/rbwatch/dashboard.rb
Instance Method Summary collapse
- #auto_spin ⇒ Object
- #error(message = nil) ⇒ Object
-
#initialize(dashboard) ⇒ NullSpinner
constructor
A new instance of NullSpinner.
- #kill ⇒ Object
- #stop ⇒ Object
- #success(message = nil) ⇒ Object
Constructor Details
#initialize(dashboard) ⇒ NullSpinner
Returns a new instance of NullSpinner.
217 218 219 |
# File 'lib/rbwatch/dashboard.rb', line 217 def initialize(dashboard) @dashboard = dashboard end |
Instance Method Details
#auto_spin ⇒ Object
221 222 223 |
# File 'lib/rbwatch/dashboard.rb', line 221 def auto_spin true end |
#error(message = nil) ⇒ Object
230 231 232 233 |
# File 'lib/rbwatch/dashboard.rb', line 230 def error( = nil) @dashboard.log_error() if true end |
#kill ⇒ Object
239 240 241 |
# File 'lib/rbwatch/dashboard.rb', line 239 def kill true end |
#stop ⇒ Object
235 236 237 |
# File 'lib/rbwatch/dashboard.rb', line 235 def stop true end |
#success(message = nil) ⇒ Object
225 226 227 228 |
# File 'lib/rbwatch/dashboard.rb', line 225 def success( = nil) @dashboard.log_success() if true end |