Class: Session

Inherits:
Object
  • Object
show all
Defined in:
lib/focus_plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#durationObject

Returns the value of attribute duration.



4
5
6
# File 'lib/focus_plan.rb', line 4

def duration
  @duration
end

#focusObject

Returns the value of attribute focus.



4
5
6
# File 'lib/focus_plan.rb', line 4

def focus
  @focus
end

#start_timeObject

Returns the value of attribute start_time.



4
5
6
# File 'lib/focus_plan.rb', line 4

def start_time
  @start_time
end