Method: Library#load

Defined in:
lib/library.rb

#load(pathname, options = {}) ⇒ Object

Load feature form library.



381
382
383
384
385
386
387
388
# File 'lib/library.rb', line 381

def load(pathname, options={})
  #options[:load] = true
  if feature = find(pathname, options)
    feature.load(options)
  else
    raise LoadError.new(pathname, self.name)
  end
end