Exception: Action::RenderNow

Inherits:
StandardError
  • Object
show all
Defined in:
lib/culpa/action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(to_render) ⇒ RenderNow

Returns a new instance of RenderNow.



24
25
26
# File 'lib/culpa/action.rb', line 24

def initialize(to_render)
  @to_render = to_render
end

Instance Attribute Details

#to_renderObject (readonly)

Returns the value of attribute to_render.



23
24
25
# File 'lib/culpa/action.rb', line 23

def to_render
  @to_render
end