class Storage::Builder

Public Class Methods

new(type) click to toggle source
# File lib/storage.rb, line 10
def initialize(type)
  @type = type
end

Public Instance Methods

build(path_prefix, options={}) click to toggle source
# File lib/storage.rb, line 14
def build(path_prefix, options={})
  Storage.store_class_for(@type).new(path_prefix, options)
end