Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • xmlrpc/utils.rb

XMLRPC::ParseContentType

Public Instance Methods

parse_content_type(str) click to toggle source
 
               # File xmlrpc/utils.rb, line 158
def parse_content_type(str)
  a, *b = str.split(";")
  return a.strip.downcase, *b
end