Class: ScrumLint::ContextChecker
- Inherits:
-
Object
- Object
- ScrumLint::ContextChecker
- Defined in:
- lib/scrum_lint/checkers/context_checker.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call(board) ⇒ Object
5 6 7 |
# File 'lib/scrum_lint/checkers/context_checker.rb', line 5 def self.call(board) new.(board) end |
Instance Method Details
#call(board) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/scrum_lint/checkers/context_checker.rb', line 9 def call(board) board.task_lists.each do |list| cards = cards_without_context(list) if cards.any? puts "List #{list.name.green} has cards missing context:" cards.each { |card| puts "-> #{card.name.blue}" } end end end |