Top Level Namespace

Defined Under Namespace

Modules: CSV, OpenContent, XML Classes: ActiveRecordLoader, Array, Bucket, ETL, ExtractError, LoadingError, Observation, OpenStruct, String, Symbol, TransformError

Instance Method Summary collapse

Instance Method Details

#load_gem_casually(name) ⇒ Object



14
15
16
17
18
19
20
21
# File 'lib/etl.rb', line 14

def load_gem_casually(name)
  begin
    gem name
    require name
  rescue Gem::LoadError
    # Do nothing if this is not available.  It's a convenience, not a requirement.
  end
end