Module: Pacer::Filter::LimitSectionFilter
- Includes:
- Visitors::VisitsSection
- Defined in:
- lib/pacer/filter/limit_section_filter.rb
Defined Under Namespace
Classes: LimitSectionPipe
Instance Attribute Summary collapse
-
#section_max ⇒ Object
Returns the value of attribute section_max.
Attributes included from Visitors::VisitsSection
#section, #section_route, #visitor_num
Instance Method Summary collapse
Instance Attribute Details
#section_max ⇒ Object
Returns the value of attribute section_max.
17 18 19 |
# File 'lib/pacer/filter/limit_section_filter.rb', line 17 def section_max @section_max end |
Instance Method Details
#attach_pipe(end_pipe) ⇒ Object
19 20 21 22 23 |
# File 'lib/pacer/filter/limit_section_filter.rb', line 19 def attach_pipe(end_pipe) pipe = LimitSectionPipe.new(self, section_visitor, section_max) pipe.setStarts end_pipe if end_pipe pipe end |