Method: RR::TableScanHelper.scan_class
- Defined in:
- lib/rubyrep/table_scan_helper.rb
.scan_class(session) ⇒ Object
Returns the correct class for the table scan based on the type of the session (proxied or direct).
38 39 40 41 42 43 44 |
# File 'lib/rubyrep/table_scan_helper.rb', line 38 def self.scan_class(session) if session.proxied? ProxiedTableScan else DirectTableScan end end |