Sha256: 6128a9db179e8ea01a6c7a0b22509c77a44e374eeb65e23cbaa96efd834a7da9
Contents?: true
Size: 289 Bytes
Versions: 3
Compression:
Stored size: 289 Bytes
Contents
module Suricate class SinatraOutputDriver < OutputDriver extend Forwardable def_delegators :@application, :status, :content_type def initialize(application) @application = application end def render(content) @application.body(content) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
suricate-0.0.4 | lib/suricate/sinatra_output_driver.rb |
suricate-0.0.3 | lib/suricate/sinatra_output_driver.rb |
suricate-0.0.2 | lib/suricate/sinatra_output_driver.rb |