Parent

RoutingFilter::Chain

Public Instance Methods

<<(filter) click to toggle source
# File lib/routing_filter/chain.rb, line 3
def <<(filter)
  filter.previous, last.next = last, filter if last
  super
end
Also aliased as: push
active?() click to toggle source
# File lib/routing_filter/chain.rb, line 18
def active?
  RoutingFilter.active? && !empty?
end
push(filter) click to toggle source
Alias for: <<
run(method, *args, &final) click to toggle source
# File lib/routing_filter/chain.rb, line 14
def run(method, *args, &final)
  active? ? first.run(method, *args, &final) : final.call
end
unshift(filter) click to toggle source
# File lib/routing_filter/chain.rb, line 9
def unshift(filter)
  filter.next, first.previous = first, filter if first
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.