Module: Pacer::Filter::LoopFilter

Defined in:
lib/pacer/filter/loop_filter.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#looping_routeObject

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

.triggersObject



14
15
16
# File 'lib/pacer/filter/loop_filter.rb', line 14

def self.triggers
  [:looping_route]
end

Instance Method Details

#while(yield_paths = false, &block) ⇒ Object



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