Dir.new(File.join(File.dirname(__FILE__), 'uploader')).each do |file| next if file.start_with?('.') || !file.end_with?('.rb') require "vagabond/uploader/#{file}" end require 'vagabond/helpers' module Vagabond class Uploader attr_reader :store attr_reader :options attr_reader :ui include Helpers def initialize(base_directory, options={}) @store = base_directory @options = Mash.new(options) @ui = options[:ui] end def prepare end def upload end end end