Class: RSpecTracer::Storage::SqliteBackend::SqliteFieldReader Private
- Inherits:
-
Object
- Object
- RSpecTracer::Storage::SqliteBackend::SqliteFieldReader
- Defined in:
- lib/rspec_tracer/storage/sqlite_backend.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Binds a SqliteBackend so LazySnapshot readers can dispatch one field at a time without threading a connection through.
Instance Method Summary collapse
-
#initialize(backend:) ⇒ SqliteFieldReader
constructor
private
Internal method on the tracer pipeline.
-
#read(field) ⇒ Object
private
Internal method on the tracer pipeline.
Constructor Details
#initialize(backend:) ⇒ SqliteFieldReader
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Internal method on the tracer pipeline.
119 120 121 |
# File 'lib/rspec_tracer/storage/sqlite_backend.rb', line 119 def initialize(backend:) @backend = backend end |
Instance Method Details
#read(field) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Internal method on the tracer pipeline.
125 126 127 |
# File 'lib/rspec_tracer/storage/sqlite_backend.rb', line 125 def read(field) @backend.read_field(field) end |