RubyGems.org

OptionPicker allows you to create a list of allowed options, and specify a fallback. When given a value the picker will then return the value if it is in the allowed list, otherwise it will return the default value.

installgem install option_picker
Authors

Tony Marklove

416 total downloads 416 for this version
Owners

2d4ab3d4d68bbe3312aa11c3735babbb

Licenses

MIT

Gemfile
gem 'option_picker', '~> 0.0.1'
Versions
  1. 0.0.1 January 20, 2014 (7.5 KB)