class Tudu::Task
Tudu::Task
¶ ↑
Attributes
Public Class Methods
Public Instance Methods
==(other)
click to toggle source
# File lib/task.rb, line 28 def ==(other) return true if name == other.name && type == other.type false end
doing?()
click to toggle source
# File lib/task.rb, line 20 def doing? @type == 'doings' end
done?()
click to toggle source
# File lib/task.rb, line 24 def done? @type == 'dones' end
todo?()
click to toggle source
# File lib/task.rb, line 16 def todo? @type == 'todos' end