Sha256: 9e66e556988761f668998d5ea2dcf1dbdf101675b89fa415a50481a7130f925e

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

module Capcode
  module Helpers
    def render_binary( f, opts ) #:nodoc:
      @response['Content-Type'] = opts[:content_type]||opts['Content-Type']||"binary/octet-stream"
      self.send(f) 
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
capcode-render-binary-0.1.0 lib/capcode/render/binary.rb
Capcode-0.8.9 lib/capcode/render/binary.rb
Capcode-0.8.8 lib/capcode/render/binary.rb