lib/column.rb in trollolo-0.0.5 vs lib/column.rb in trollolo-0.0.6
- old
+ new
@@ -42,11 +42,15 @@
def extra_cards
cards.select{|c| c.extra?}
end
+ def unplanned_cards
+ cards.select{|c| c.unplanned?}
+ end
+
def committed_cards
- cards.select{|c| !c.extra?}
+ cards.select{|c| !c.extra? && !c.unplanned?}
end
def fast_lane_cards
cards.select{|c| c.fast_lane?}
end