module Cucumber::Core

def compose(filters, last_receiver)

def compose(filters, last_receiver)
  filters.reverse.reduce(last_receiver) do |receiver, filter|
    filter.with_receiver(receiver)
  end
end