Sha256: f7fe9d2b51815200af0ff4ab5f5782f125c903238bbcf7c7af180e35bcb498c3

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

module Trellodon
  ChecklistItem = Struct.new("ChecklistItem", :id, :name, :state, :member, :due_date, keyword_init: true) do
    def checked?
      state == "complete"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trellodon-0.4.0 lib/trellodon/entities/checklist_item.rb