Class: WEBrick::HTTPResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/n/app/webrick-servlet.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cookies=(value) ⇒ Object (writeonly)

Sets the attribute cookies

Parameters:

  • value

    the value to set the attribute cookies to.



48
49
50
# File 'lib/n/app/webrick-servlet.rb', line 48

def cookies=(value)
  @cookies = value
end

#header=(value) ⇒ Object (writeonly)

Sets the attribute header

Parameters:

  • value

    the value to set the attribute header to.



47
48
49
# File 'lib/n/app/webrick-servlet.rb', line 47

def header=(value)
  @header = value
end