Class: BaseRenderer

Inherits:
Object
  • Object
show all
Defined in:
app/services/base_renderer.rb

Direct Known Subclasses

Events::RenderService, Notes::RenderService

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(current_user = nil) ⇒ BaseRenderer

Returns a new instance of BaseRenderer.


6
7
8
# File 'app/services/base_renderer.rb', line 6

def initialize(current_user = nil)
  @current_user = current_user
end

Instance Attribute Details

#current_userObject (readonly)

Returns the value of attribute current_user


4
5
6
# File 'app/services/base_renderer.rb', line 4

def current_user
  @current_user
end