Module: Regressor::Controller::Callback::AroundFilter
- Included in:
- Regression
- Defined in:
- lib/controller/callback/around_filter.rb
Instance Method Summary collapse
Instance Method Details
#around_callbacks ⇒ Object
5 6 7 8 9 |
# File 'lib/controller/callback/around_filter.rb', line 5 def around_callbacks around_filters.map do |filter_name| "it { should use_around_filter(#{filter_name}) }" end.compact.uniq.join("\n ") end |