Sha256: a194c8dfaaeb548dbd1b2bff96590dc4a594f8f7f02c3e3bc453936730ac04bc
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
require_relative 'card' module ScrumLint class List attr_accessor :trello_list def initialize(trello_list) self.trello_list = trello_list end def name trello_list.name end def cards @cards ||= trello_list.cards.map do |card| ScrumLint::Card.new(card, list: self) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scrum_lint-0.0.2 | lib/scrum_lint/models/list.rb |
scrum_lint-0.0.1 | lib/scrum_lint/models/list.rb |