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[:load] = true if feature = find(pathname, ) feature.load() else raise LoadError.new(pathname, self.name) end end |