class Strum::Internal::Events::InterceptorEvent

Public Class Methods

new(params = {}, block) click to toggle source

Creates a new InterceptorEvent

Calls superclass method Strum::Internal::Events::Event::new
# File lib/strum/internal/events/interceptor.rb, line 12
def initialize(params = {}, block)
  self[:Interceptor] = params[:interceptor].nil? ? Strum::Server::Interceptor.instance : params[:interceptor]
  super(params, block)
end