Method: Procodile::AppDetermination#app_options
- Defined in:
- lib/procodile/app_determination.rb
#app_options ⇒ Object
Return an hash of possible options to settle the ambiguity
49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/procodile/app_determination.rb', line 49 def if ambiguous? hash = {} @global_options.each_with_index do |option, i| hash[i] = option['name'] || option['root'] end hash else {} end end |