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.26.0.1.b243 lib/acfs/global.rb
acfs-0.26.0.1.b242 lib/acfs/global.rb
acfs-0.26.0 lib/acfs/global.rb
acfs-0.25.0.1.b232 lib/acfs/global.rb
acfs-0.25.0.1.b229 lib/acfs/global.rb
acfs-0.25.0.1.b228 lib/acfs/global.rb
acfs-0.25.0.1.b227 lib/acfs/global.rb
acfs-0.25.0.1.b226 lib/acfs/global.rb
acfs-0.25.0.1.b225 lib/acfs/global.rb
acfs-0.25.0.1.b223 lib/acfs/global.rb
acfs-0.25.0.1.b221 lib/acfs/global.rb
acfs-0.25.0.1.b217 lib/acfs/global.rb
acfs-0.25.0 lib/acfs/global.rb
acfs-0.24.0.1.b216 lib/acfs/global.rb
acfs-0.24.0.1.b214 lib/acfs/global.rb
acfs-0.24.0.1.b212 lib/acfs/global.rb
acfs-0.24.0.b210 lib/acfs/global.rb
acfs-0.24.0 lib/acfs/global.rb
acfs-0.23.2.b209 lib/acfs/global.rb
acfs-0.23.2.b208 lib/acfs/global.rb