Sha256: 57fd98d03bebd9b4aad332f4b3d5ede10c7a6f78adaf7bb85e00fc7d5cbd919d
Contents?: true
Size: 189 Bytes
Versions: 3
Compression:
Stored size: 189 Bytes
Contents
module Mime class << self def method_missing m self[m] end def [] type Rack::Mime.mime_type(".#{type}") || raise("Unknown MIME type: #{type}") end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
crystal-0.0.13 | lib/crystal/support/mime.rb |
crystal-0.0.12 | lib/crystal/support/mime.rb |
crystal_ext-0.0.11 | lib/crystal/support/mime.rb |