class Rack::Logjam::Formatters::Base
Attributes
content[R]
format[R]
Public Class Methods
new( content, format=nil )
click to toggle source
# File lib/rack/logjam/formatters/base.rb, line 6 def initialize( content, format=nil ) @content = content @format = format end
Public Instance Methods
render()
click to toggle source
# File lib/rack/logjam/formatters/base.rb, line 11 def render "You must implement #{self.class.name}#render in order to render a #{format} response" end