Method: Ditz::Issue#get_type
- Defined in:
- lib/model-objects.rb
#get_type(config, project) ⇒ Object
211 212 213 214 |
# File 'lib/model-objects.rb', line 211 def get_type config, project ask "Is this a (b)ugfix or a (f)eature?", :restrict => /^[bf]$/ type == "b" ? :bugfix : :feature end |