Sha256: b16543c09ad6a78d8e50be8e413ba49374144b251f123b40b237f1839147b334

Contents?: true

Size: 697 Bytes

Versions: 3

Compression:

Stored size: 697 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:
@tags[:@visibility:public:@signature"def mime_array:
@name:mime_array:@namespaceu:YARD::StubProxy!Grape::Middleware::Formatter:@source"Ődef mime_array
  accept = headers['accept']
  if accept
    accept.gsub(/\b/,'').
      scan(/(\w+\/[\w+]+)(?:;[^,]*q=([0-9.]+)[^,]*)?/i).
      sort_by{|a| -a[1].to_f}.
      map{|a| a[0]}
  else
    []
  end
end:
@dynamicT:@source_type:	ruby:@docstringIC:YARD::Docstring":@objectu;
,Grape::Middleware::Formatter#mime_array;[:@ref_tags[:
@summary0:	@all":@line_range0:@scope:
instance:
@lineiE:@explicitT:@parameters[:@files[["&lib/grape/middleware/formatter.rbiE:@current_file_has_commentsF

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grape-0.1.5 .yardoc/objects/Grape/Middleware/Formatter/mime_array_i.dat
grape-0.1.4 .yardoc/objects/Grape/Middleware/Formatter/mime_array_i.dat
grape-0.1.3 .yardoc/objects/Grape/Middleware/Formatter/mime_array_i.dat