Class: Mime::Type::AcceptItem
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionpack/lib/action_dispatch/http/mime_type.rb |
Overview
A simple helper class used in parsing the accept header.
Class Method Summary
- .new(index, name, q = nil) ⇒ AcceptItem constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(index, name, q = nil) ⇒ AcceptItem
Instance Attribute Details
#index (rw)
[ GitHub ]#name (rw) Also known as: #to_s
[ GitHub ]#q (rw)
[ GitHub ]#to_s (readonly)
Alias for #name.
# File 'actionpack/lib/action_dispatch/http/mime_type.rb', line 92
alias :to_s :name