Module: Yello::FromTrello
- Defined in:
- lib/yello/from_trello.rb
Class Method Summary collapse
Class Method Details
.cards(array) ⇒ Object
20 21 22 23 24 25 |
# File 'lib/yello/from_trello.rb', line 20 def cards(array) # Sort by position array.sort_by{|c|c.pos}.map{|c| Yello::Card.new(c.name, c.desc, checklists(c.checklists)) } end |