Class: ContextFilters::Context
- Inherits:
-
GlobalContext
- Object
- GlobalContext
- ContextFilters::Context
- Includes:
- LocalContext
- Defined in:
- lib/context-filters/context.rb
Overview
manipulate set of context and filters for it, allow evaluating filters in given context
Instance Attribute Summary
Attributes inherited from GlobalContext
Instance Method Summary collapse
-
#evaluate_filters(target, method) ⇒ Object
run the given method on global and local filters.
Methods included from LocalContext
#evaluate_local_filters, #local_filter, #local_filters
Methods inherited from GlobalContext
#filter, #in_context, #initialize
Constructor Details
This class inherits a constructor from ContextFilters::GlobalContext
Instance Method Details
#evaluate_filters(target, method) ⇒ Object
run the given method on global and local filters
18 19 20 21 22 |
# File 'lib/context-filters/context.rb', line 18 def evaluate_filters(target, method) super(target, method) do evaluate_local_filters(target, method) end end |