Sha256: a7ec1e494f7a7eabe696287688694412c1efa116bcfbc5a317622e20d60e4773

Contents?: true

Size: 550 Bytes

Versions: 57

Compression:

Stored size: 550 Bytes

Contents

module Acfs

  # Global Acfs module methods.
  #
  module Global

    # @api private
    # @return [Runner]
    #
    def runner
      @runner ||= Runner.new Adapter::Typhoeus.new
    end

    # @api public
    #
    # Run all queued operations.
    #
    # @return [undefined]
    #
    def run
      runner.start
    end

    # @api public
    #
    # Configure acfs using given block.
    #
    # @return [undefined]
    # @see Configuration#configure
    #
    def configure(&block)
      Configuration.current.configure &block
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
acfs-0.21.1.b189 lib/acfs/global.rb
acfs-0.21.1.rc1.b188 lib/acfs/global.rb
acfs-0.21.1 lib/acfs/global.rb
acfs-0.21.0.rc1.b187 lib/acfs/global.rb
acfs-0.21.1.rc1 lib/acfs/global.rb
acfs-0.21.0.rc1 lib/acfs/global.rb
acfs-0.22.0.rc1.b186 lib/acfs/global.rb
acfs-0.21.0.b185 lib/acfs/global.rb
acfs-0.20.0.dev.b184 lib/acfs/global.rb
acfs-0.21.0 lib/acfs/global.rb
acfs-0.20.0.dev.b183 lib/acfs/global.rb
acfs-0.20.0.dev.b182 lib/acfs/global.rb
acfs-0.20.0.dev.b181 lib/acfs/global.rb
acfs-0.20.0 lib/acfs/global.rb
acfs-0.19.0 lib/acfs/global.rb
acfs-0.18.0 lib/acfs/global.rb
acfs-0.17.0 lib/acfs/global.rb