Class: Minder::Task

Inherits:
Object
  • Object
show all
Defined in:
lib/minder/tasks/task.rb

Instance Method Summary collapse

Instance Method Details

#started?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/minder/tasks/task.rb', line 13

def started?
  !!started_at
end

#to_sObject



17
18
19
# File 'lib/minder/tasks/task.rb', line 17

def to_s
  description.gsub(/\A\* /, '')
end