Class Boson::GemLibrary

  1. lib/boson/libraries/gem_library.rb
Parent: Boson::Library

This library loads a gem by the given name. Unlike FileLibrary or ModuleLibrary, this library doesn’t need a module to provide its functionality.

Example:

>> load_library 'httparty', :class_commands=>{'put'=>'HTTParty.put',
   'delete'=>'HTTParty.delete' }
=> true
>> put 'http://someurl.com'