123456789_123456789_123456789_123456789_123456789_

Class: ActiveSupport::Callbacks::Filters::End

Relationships & Source Files
Inherits: Object
Defined in: activesupport/lib/active_support/callbacks.rb

Instance Method Summary

Instance Method Details

#call(env)

[ GitHub ]

  
# File 'activesupport/lib/active_support/callbacks.rb', line 115

def call(env)
  block = env.run_block
  env.value = !env.halted && (!block || block.call)
  env
end