Class: ActiveRecord::AsynchronousQueriesTracker::Session
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/asynchronous_queries_tracker.rb
Overview
:nodoc:
Instance Method Summary collapse
- #active? ⇒ Boolean
- #finalize ⇒ Object
-
#initialize ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize ⇒ Session
Returns a new instance of Session.
17 18 19 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/asynchronous_queries_tracker.rb', line 17 def initialize @active = true end |
Instance Method Details
#active? ⇒ Boolean
21 22 23 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/asynchronous_queries_tracker.rb', line 21 def active? @active end |
#finalize ⇒ Object
25 26 27 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/asynchronous_queries_tracker.rb', line 25 def finalize @active = false end |