Sha256: 3a92be2da8dffe241e7533f6f73544d5c6a9a20d866f7c8f4d6ade16bbb3d41f
Contents?: true
Size: 789 Bytes
Versions: 7
Compression:
Stored size: 789 Bytes
Contents
module Dude module ProjectManagement module Entities class Issue attr_accessor :id, :title, :description, :status, :assignee def initialize(id: , title:, description:, status:, assignee: nil) @id = id @title = title @description = description @status = status @assignee = assignee end def todo? [TODO_LIST_NAME, 'Unclear'].include? status end def in_progress? status == IN_PROGRESS_LIST_NAME end def ready_for_review? status == CODE_REVIEW_LIST_NAME end def testable? status == TESTING_LIST_NAME end def done? status == DONE_LIST_NAME end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems