Class: Ruby::Pomodoro::Worker
- Inherits:
-
Object
- Object
- Ruby::Pomodoro::Worker
- Includes:
- AASM, Observable, Singleton
- Defined in:
- lib/ruby/pomodoro/worker.rb
Overview
Singleton for work with tasks in application
Instance Attribute Summary collapse
-
#current_task ⇒ Object
readonly
Returns the value of attribute current_task.
-
#pomodoro_size ⇒ Object
Returns the value of attribute pomodoro_size.
-
#progressbar ⇒ Object
Returns the value of attribute progressbar.
-
#time_interval ⇒ Object
Returns the value of attribute time_interval.
Instance Attribute Details
#current_task ⇒ Object (readonly)
Returns the value of attribute current_task.
9 10 11 |
# File 'lib/ruby/pomodoro/worker.rb', line 9 def current_task @current_task end |
#pomodoro_size ⇒ Object
Returns the value of attribute pomodoro_size.
10 11 12 |
# File 'lib/ruby/pomodoro/worker.rb', line 10 def pomodoro_size @pomodoro_size end |
#progressbar ⇒ Object
Returns the value of attribute progressbar.
10 11 12 |
# File 'lib/ruby/pomodoro/worker.rb', line 10 def @progressbar end |
#time_interval ⇒ Object
Returns the value of attribute time_interval.
10 11 12 |
# File 'lib/ruby/pomodoro/worker.rb', line 10 def time_interval @time_interval end |