Method: Ditz::Project#get_components
- Defined in:
- lib/model-objects.rb
#get_components ⇒ Object
45 46 47 48 49 50 51 52 53 54 |
# File 'lib/model-objects.rb', line 45 def get_components puts <<EOS Issues can be tracked across the project as a whole, or the project can be split into components, and issues tracked separately for each component. EOS use_components = ask_yon "Track issues separately for different components?" comp_names = use_components ? ask_for_many("components") : [] ([name] + comp_names).uniq.map { |n| Component.create_interactively :with => { :name => n } } end |