lib/howzit/task.rb in howzit-2.0.9 vs lib/howzit/task.rb in howzit-2.0.10
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
module Howzit
+ # Task object
class Task
attr_reader :type, :title, :action, :parent, :optional, :default
def initialize(type, title, action, parent = nil, optional: false, default: true)
@type = type