class ControllerWithAllTypesOfFilters
Private Instance Methods
after()
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 945 def after @ran_filter << "after" end
around() { || ... }
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 939 def around @ran_filter << "around (before yield)" yield @ran_filter << "around (after yield)" end
around_again() { || ... }
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 949 def around_again @ran_filter << "around_again (before yield)" yield @ran_filter << "around_again (after yield)" end
before()
click to toggle source
# File actionpack/test/controller/filters_test.rb, line 934 def before @ran_filter ||= [] @ran_filter << "before" end