Module: Central::Support::StoryConcern::CSV
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/central/support/concerns/story_concern/csv.rb
Instance Method Summary collapse
Instance Method Details
#to_csv ⇒ Object
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/central/support/concerns/story_concern/csv.rb', line 57 def to_csv [ id, # Id title, # Story labels, # Labels nil, # Iteration nil, # Iteration Start nil, # Iteration End story_type, # Story Type estimate, # Estimate state, # Current State started_at, # Started at created_at, # Created at accepted_at, # Accepted at nil, # Deadline requested_by_name, # Requested By owned_by_name, # Owned By description, # Description nil # URL ].concat(notes.map(&:to_s)) end |