123456789_123456789_123456789_123456789_123456789_

Class: ActiveRecord::QueryLogs::ZeroArityHandler

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(proc) ⇒ ZeroArityHandler

[ GitHub ]

  
# File 'activerecord/lib/active_record/query_logs.rb', line 96

def initialize(proc)
  @proc = proc
end

Instance Method Details

#call(_context)

[ GitHub ]

  
# File 'activerecord/lib/active_record/query_logs.rb', line 100

def call(_context)
  @proc.call
end