method

tokens

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: Net::HTTPHeader
tokens(vals) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/http/header.rb, line 443
  def tokens(vals)
    return [] unless vals
    vals.map {|v| v.split(',') }.flatten         .reject {|str| str.strip.empty? }         .map {|tok| tok.strip.downcase }
  end
Register or log in to add new notes.