Module: Pacer::Filter::LoopFilter
- Defined in:
- lib/pacer/filter/loop_filter.rb
Instance Attribute Summary (collapse)
-
- (Object) looping_route
Returns the value of attribute looping_route.
Class Method Summary (collapse)
Instance Method Summary (collapse)
Instance Attribute Details
- (Object) looping_route
Returns the value of attribute looping_route
18 19 20 |
# File 'lib/pacer/filter/loop_filter.rb', line 18 def looping_route @looping_route end |
Class Method Details
+ (Object) triggers
14 15 16 |
# File 'lib/pacer/filter/loop_filter.rb', line 14 def self.triggers [:looping_route] end |
Instance Method Details
- (Object) while(yield_paths = false, &block)
29 30 31 32 33 |
# File 'lib/pacer/filter/loop_filter.rb', line 29 def while(yield_paths = false, &block) @yield_paths = yield_paths @control_block = block self end |