Class: HttpHeaders::Accept

Inherits:
Array
  • Object
show all
Defined in:
lib/http_headers/accept.rb,
lib/http_headers/accept/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) ⇒ Accept

Returns a new instance of Accept.


6
7
8
# File 'lib/http_headers/accept.rb', line 6

def initialize(value)
  __setobj__ HttpHeaders::Utils::List.new(value, entry_klazz: Accept::Entry)
end