Method: BEL::Namespace::ResourceIndex#initialize

Defined in:
lib/bel/namespace.rb

#initialize(index, namespaces = [], annotations = []) ⇒ ResourceIndex

Returns a new instance of ResourceIndex.



173
174
175
176
177
178
# File 'lib/bel/namespace.rb', line 173

def initialize(index, namespaces = [], annotations = [])
  @index = index
  @namespaces = namespaces
  @annotations = annotations
  @loaded = false
end