Class: Pomodoro::Schedule::Schedule

Inherits:
Thing
  • Object
show all
Defined in:
lib/pomodoro/schedule/dsl.rb

Instance Method Summary collapse

Methods inherited from Thing

#initialize, #true?

Constructor Details

This class inherits a constructor from Pomodoro::Schedule::Thing

Instance Method Details

#callObject



24
25
26
27
# File 'lib/pomodoro/schedule/dsl.rb', line 24

def call
  list = @callable.call
  TaskList.new(list)
end