Sha256: bfe43fea16635cb7d69223fd502eda4a5672b51973eb6f47026bc975b92988ab

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

module DataMigrate
  include ActiveSupport::Configurable
  class << self

    def configure
      yield config
    end

    def config
      @config ||= Config.new
    end
  end

  class Config
    attr_accessor :data_migrations_path, :db_configuration

    def initialize
      @data_migrations_path = "db/data/"
      @db_configuration = nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
data_migrate-6.6.2 lib/data_migrate/config.rb
data_migrate-6.6.0 lib/data_migrate/config.rb