Sha256: fa8233edd1c6393da191a34a9075a22b20c41ed842b0e518904585100c7abab0
Contents?: true
Size: 391 Bytes
Versions: 10
Compression:
Stored size: 391 Bytes
Contents
module Dox module Formatters class Base def initialize(http_env) @http_env = http_env http_env_body = http_env.body @body = http_env_body.respond_to?(:read) ? http_env_body.read : http_env_body end def format raise 'no format method defined in formatter' end private attr_reader :http_env, :body end end end
Version data entries
10 entries across 10 versions & 1 rubygems