Method: R10K::Settings::List#initialize
- Defined in:
- lib/r10k/settings/list.rb
#initialize(name, item_proc, opts = {}) ⇒ List
Returns a new instance of List.
27 28 29 30 31 32 33 |
# File 'lib/r10k/settings/list.rb', line 27 def initialize(name, item_proc, opts = {}) @name = name @item_proc = item_proc @items = [] setopts(opts, allowed_initialize_opts) end |