Method: InterMine::Lists::List#initialize
- Defined in:
- lib/intermine/lists.rb
#initialize(details, manager = nil) ⇒ List
Construct a new list with details from the webservice.
This method is called internally. You will not need to construct new list objects directly.
Arguments:
details-
The information about this list received from the webservice.
manager-
The object responsible for keeping track of all the known lists
list = List.new({"name" => "Foo"}, manager)
84 85 86 87 88 89 |
# File 'lib/intermine/lists.rb', line 84 def initialize(details, manager=nil) @manager = manager details.each {|k,v| instance_variable_set('@' + k, v)} @unmatched_identifiers = [] @tags ||= [] end |