Module: ActiveRecord::ConnectionAdapters::SQLServer::CoreExt::ODBC::Database

Defined in:
lib/active_record/connection_adapters/sqlserver/core_ext/odbc.rb

Instance Method Summary collapse

Instance Method Details

#run_block(*args) {|sth = run(*args)| ... } ⇒ Object

Yields:

  • (sth = run(*args))


20
21
22
23
# File 'lib/active_record/connection_adapters/sqlserver/core_ext/odbc.rb', line 20

def run_block(*args)
  yield sth = run(*args)
  sth.drop
end