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))


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

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