Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/etl.rb
Overview
patch for github.com/activewarehouse/activewarehouse-etl/issues/24 allow components to require optional gems
Instance Method Summary collapse
Instance Method Details
#optional_require(feature) ⇒ Object
60 61 62 63 64 65 |
# File 'lib/etl.rb', line 60 def optional_require(feature) begin require feature rescue LoadError end end |