Maintenance of Ruby 2.0.0 ended on February 24, 2016. 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 164
def parse_content_type(str)
  a, *b = str.split(";")
  return a.strip.downcase, *b
end