Top Level Namespace
Defined Under Namespace
Modules: DataObjects, Extlib, SSLHelpers Classes: CustomTextType
Constant Summary collapse
- WINDOWS =
Gem.win_platform? || (JRUBY && ENV_JAVA['os.name'] =~ /windows/i)
- JRUBY =
RUBY_PLATFORM =~ /java/
Instance Method Summary collapse
Instance Method Details
#test_connection(conn) ⇒ Object
1 2 3 4 5 6 7 8 9 |
# File 'lib/data_objects/spec/shared/connection_spec.rb', line 1 def test_connection(conn) reader = conn.create_command(CONFIG.testsql || "SELECT 1").execute_reader reader.next! result = reader.values[0] result ensure reader.close conn.close end |