module Reorm

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Copyright ©, 2015 Peter Wood See the license.txt for details of the licensing of the code in this file.

Constants

BUILD_VERSION
DEFAULT_SIZE

Constants used with Rethinkdb connections.

DEFAULT_TIMEOUT
MAJOR_VERSION
MINOR_VERSION
SETTINGS_NAMES
VERSION

Public Class Methods

connection() { |connection| ... } click to toggle source

A method for obtaining a connection from the module connection pool. The intended usage is that you call this method with a block that will be passed the connection as a parameter.

# File lib/reorm.rb, line 42
def self.connection
  @@reorm_connections.with do |connection|
    yield connection
  end
end