Class: Reactive::Mvc::Controller::Filters::ClassMethods::SymbolFilter

Inherits:
Filter
  • Object
show all
Defined in:
lib/reactive-mvc/controller/filters.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Filter

#excluded_actions, #filter, #included_actions

Instance Method Summary collapse

Methods inherited from Filter

#after?, #around?, #before?, #initialize, #run, #type

Constructor Details

This class inherits a constructor from Reactive::Mvc::Controller::Filters::ClassMethods::Filter

Instance Method Details

#call(controller, &block) ⇒ Object



468
469
470
# File 'lib/reactive-mvc/controller/filters.rb', line 468

def call(controller, &block)
  controller.send(@filter, &block)
end