Class: HttpHeaders::AcceptLanguage
- Inherits:
-
Array
- Object
- Array
- HttpHeaders::AcceptLanguage
- Defined in:
- lib/http_headers/accept_language.rb,
lib/http_headers/accept_language/version.rb
Overview
< DelegateClass(Array) determined by version
Defined Under Namespace
Classes: Entry
Constant Summary collapse
- VERSION =
'0.2.2'
Instance Method Summary collapse
-
#initialize(value) ⇒ AcceptLanguage
constructor
A new instance of AcceptLanguage.
Constructor Details
#initialize(value) ⇒ AcceptLanguage
Returns a new instance of AcceptLanguage.
6 7 8 |
# File 'lib/http_headers/accept_language.rb', line 6 def initialize(value) __setobj__ HttpHeaders::Utils::List.new(value, entry_klazz: Entry) end |