Sha256: 570647188b9b50ffeacb80c622acf159b821fee5e8ed33b83eabaf97ff298d4b

Contents?: true

Size: 258 Bytes

Versions: 5

Compression:

Stored size: 258 Bytes

Contents

module Storage
  module Strategies
    require "storage/strategies/s3"
    require "storage/strategies/file_system"

    STRATEGIES = {}

    # Register a new strategy.
    def self.register(name, klass)
      STRATEGIES[name] = klass.to_s
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
storage-0.3.3 lib/storage/strategies.rb
storage-0.3.2 lib/storage/strategies.rb
storage-0.3.1 lib/storage/strategies.rb
storage-0.3.0 lib/storage/strategies.rb
storage-0.2.0 lib/storage/strategies.rb