123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

Constructor Details

.new(name) ⇒ GetKeyHandler

[ GitHub ]

  
# 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