Sha256: 29cc90b330384acfc283f72e5a4653ef7d1114a498af122b966260de29ae39f4

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

=begin rdoc
The generated SWIG module for accessing libmemcached's C API.

Includes the full set of libmemcached static methods (as defined in <tt>$INCLUDE_PATH/libmemcached/memcached.h</tt>), and classes for the available structs:

* <b>Rlibmemcached::MemcachedResultSt</b>
* <b>Rlibmemcached::MemcachedServerSt</b>
* <b>Rlibmemcached::MemcachedSt</b>
* <b>Rlibmemcached::MemcachedStatSt</b>
* <b>Rlibmemcached::MemcachedStringSt</b>

A number of SWIG typemaps and C helper methods are also defined in <tt>ext/libmemcached.i</tt>.

=end
module Rlibmemcached
end

require 'rlibmemcached'

class Memcached
  Lib = Rlibmemcached
  raise "libmemcached 0.32 required; you somehow linked to #{Lib.memcached_lib_version}." unless "0.32" == Lib.memcached_lib_version
  private_constant :Lib

  VERSION = File.read("#{File.dirname(__FILE__)}/../CHANGELOG")[/v([\d\.]+)\./, 1]

  autoload :Rails, 'memcached/rails'
  deprecate_constant :Rails
  autoload :Experimental, 'memcached/experimental'
end

Object.deprecate_constant :Rlibmemcached

require 'memcached/exceptions'
require 'memcached/behaviors'
require 'memcached/marshal_codec'
require 'memcached/memcached'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vinted-memcached-1.8.5 lib/memcached.rb