Method: Unidata::SelectList#initialize
- Defined in:
- lib/unidata/select_list.rb
#initialize(uniselect_list, should_cache = false) ⇒ SelectList
Returns a new instance of SelectList.
5 6 7 8 9 10 |
# File 'lib/unidata/select_list.rb', line 5 def initialize(uniselect_list, should_cache=false) @uniselect_list = uniselect_list @should_cache = should_cache @cache = [] @exhausted = false end |