Module: HealthRack::Renderers

Defined in:
lib/health_rack/renderers.rb,
lib/health_rack/renderers/html_renderer.rb,
lib/health_rack/renderers/json_renderer.rb

Defined Under Namespace

Classes: HTMLRenderer, JSONRenderer

Class Method Summary collapse

Class Method Details

.find(name) ⇒ Object



6
7
8
# File 'lib/health_rack/renderers.rb', line 6

def self.find(name)
  const_get "#{name.to_s.upcase}Renderer"
end