class ActionDispatch::Journey::Format

def initialize(parts)

def initialize(parts)
  @parts      = parts
  @children   = []
  @parameters = []
  parts.each_with_index do |object, i|
    case object
    when Journey::Format
      @children << i
    when Parameter
      @parameters << i
    end
  end
end