Sha256: 6dda529c60ad9596ff76b67dcb6c37fcad6dcbbe9975cb8fad9ca1430a2ab62c

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

# dependencies
require "libmf"
require "numo/narray"

# modules
require_relative "disco/data"
require_relative "disco/metrics"
require_relative "disco/recommender"
require_relative "disco/version"

# integrations
require_relative "disco/engine" if defined?(Rails)

module Disco
  class Error < StandardError; end

  extend Data
end

if defined?(ActiveSupport.on_load)
  ActiveSupport.on_load(:active_record) do
    require_relative "disco/model"
    extend Disco::Model
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
disco-0.5.0 lib/disco.rb
disco-0.4.2 lib/disco.rb
disco-0.4.0 lib/disco.rb