Class: ActiveRecord::AsynchronousQueriesTracker::Session
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | activerecord/lib/active_record/asynchronous_queries_tracker.rb |
Class Method Summary
- .new ⇒ Session constructor
Instance Attribute Summary
- #active? ⇒ Boolean readonly
Instance Method Summary
Constructor Details
.new ⇒ Session
# File 'activerecord/lib/active_record/asynchronous_queries_tracker.rb', line 17
def initialize @active = true end
Instance Attribute Details
#active? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'activerecord/lib/active_record/asynchronous_queries_tracker.rb', line 21
def active? @active end
Instance Method Details
#finalize
[ GitHub ]# File 'activerecord/lib/active_record/asynchronous_queries_tracker.rb', line 25
def finalize @active = false end