Sha256: dc81eaf104c51d1a70e100b8a7c631a57d100cbe43b0a614534372959753ff69

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 Bytes

Contents

require "replication/version"

module Replication

  autoload :Process, 'replication/process'
  autoload :Config, 'replication/config'
  autoload :StrandMethods, 'replication/strand_methods'

  module ActiveRecord
    autoload :Strand, 'replication/active_record/strand'
  end

  module Modules
    autoload :SemiConservative, 'replication/modules/semi_conservative'
    autoload :Proofreading, 'replication/modules/proofreading'
  end

  def self.defaults
    defaults = {}
    defaults.merge({
      strand_class: ::Replication::ActiveRecord::Strand,
      except: [:id, :created_at, :updated_at]
    }) if defined?(ActiveRecord)
  end

  class UnwoundError < StandardError; end;
end

require 'replication/engine' if defined?(Rails)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
replication-0.1.2 lib/replication.rb
replication-0.1.1 lib/replication.rb