Class: HttpHeaders::AcceptLanguage

Inherits:
Array
  • Object
show all
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

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