Sha256: 542cabfffb33af830a6a2b59015fc5b13fa6cd2d1ef6679da461d7e29ced4cbf
Contents?: true
Size: 230 Bytes
Versions: 7
Compression:
Stored size: 230 Bytes
Contents
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
7 entries across 7 versions & 1 rubygems