Method: Exceler.list_assigned_person
- Defined in:
- lib/exceler.rb
.list_assigned_person(items) ⇒ Object
渡されたアイテムのうち、割り当てられた人を一覧します。
list item assigned person.
Args
- items
-
アイテムの配列
Return
array of the assigned persons 担当になっている人の配列
213 214 215 216 217 218 219 220 221 |
# File 'lib/exceler.rb', line 213 def self.list_assigned_person( items ) pl = {} for item in items if( item.assign != nil ) pl[item.assign] = item end end return pl.keys end |