Class: Happy::Response

Inherits:
Rack::Response
  • Object
show all
Defined in:
lib/happy/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Response

Returns a new instance of Response.



5
6
7
8
# File 'lib/happy/response.rb', line 5

def initialize(*args)
  super
  @layout = nil
end

Instance Attribute Details

#layoutObject

Returns the value of attribute layout.



3
4
5
# File 'lib/happy/response.rb', line 3

def layout
  @layout
end