Module: Mixin::ConfigChoice
- Included in:
- DefaultConfig
- Defined in:
- lib/fox/interface/thor/mixin/config_choice.rb
Instance Method Summary collapse
Instance Method Details
#config_choice ⇒ Object
11 12 13 14 15 |
# File 'lib/fox/interface/thor/mixin/config_choice.rb', line 11 def config_choice defaults = YAML.load_file(File.( File.dirname( __FILE__ ) + '/../../../template/config/default_values.yml')) defaults['fox'].each_key { |key| choice_option(defaults['fox'], key) } defaults end |