Class: Session
- Inherits:
-
Object
- Object
- Session
- Defined in:
- lib/focus_plan.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#focus ⇒ Object
Returns the value of attribute focus.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
Instance Method Summary collapse
-
#initialize(focus:, start_time: Time.now, duration: 45) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(focus:, start_time: Time.now, duration: 45) ⇒ Session
Returns a new instance of Session.
5 6 7 8 9 10 11 |
# File 'lib/focus_plan.rb', line 5 def initialize focus: , start_time: Time.now, duration: 45 p "Construct imaginary dialgous that contains questions of the details? and summarization of the big picture!" p "Survey, Question, Read, Recite, and Review." p focus p start_time p duration end |
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
4 5 6 |
# File 'lib/focus_plan.rb', line 4 def duration @duration end |
#focus ⇒ Object
Returns the value of attribute focus.
4 5 6 |
# File 'lib/focus_plan.rb', line 4 def focus @focus end |
#start_time ⇒ Object
Returns the value of attribute start_time.
4 5 6 |
# File 'lib/focus_plan.rb', line 4 def start_time @start_time end |