Class: ActiveRecord::QueryLogs::GetKeyHandler
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | activerecord/lib/active_record/query_logs.rb |
Class Method Summary
- .new(name) ⇒ GetKeyHandler constructor
Instance Method Summary
Constructor Details
.new(name) ⇒ GetKeyHandler
# File 'activerecord/lib/active_record/query_logs.rb', line 76
def initialize(name) @name = name end
Instance Method Details
#call(context)
[ GitHub ]# File 'activerecord/lib/active_record/query_logs.rb', line 80
def call(context) context[@name] end