Sha256: 64f8f655307cdec858010ee061a0dfa31abd07ff0d8f0e95af9a2a15f0901e17

Contents?: true

Size: 258 Bytes

Versions: 5

Compression:

Stored size: 258 Bytes

Contents

module MigrationLockTimeout
  mattr_accessor :config

  def self.configure
    @@config = Configurator.new
    yield @@config
  end

  class Configurator
    attr_accessor :default_timeout

    def initialize
      @default_timeout = nil
    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
migration-lock-timeout-1.4.0 lib/migration_lock_timeout/config.rb
migration-lock-timeout-1.3.0 lib/migration_lock_timeout/config.rb
migration-lock-timeout-1.2.0 lib/migration_lock_timeout/config.rb
migration-lock-timeout-1.1.0 lib/migration_lock_timeout/config.rb
migration-lock-timeout-1.0.0 lib/migration_lock_timeout/config.rb