Sha256: 551a17ebe0e467af0b058fbd3d896758e1a7fc31d2a573e46c23a0dec2cceb84
Contents?: true
Size: 246 Bytes
Versions: 31
Compression:
Stored size: 246 Bytes
Contents
require 'rack' module Nwiki module Core class File attr_reader :data, :content_type def initialize name, data @data = data @content_type = Rack::Mime.mime_type(::File.extname(name)) end end end end
Version data entries
31 entries across 31 versions & 1 rubygems