From d92f990025dc29c17cc67a91dae80c90c9690c2a Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Wed, 1 Jun 2016 10:51:12 -0400 Subject: [PATCH] lib/nitcorn: fix `missing doc` for media_types Signed-off-by: Alexandre Terrasa --- lib/nitcorn/media_types.nit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/nitcorn/media_types.nit b/lib/nitcorn/media_types.nit index 37dd9db..305f314 100644 --- a/lib/nitcorn/media_types.nit +++ b/lib/nitcorn/media_types.nit @@ -20,6 +20,8 @@ module media_types # Map of known MIME types class MediaTypes + + # MIME types by extensions. protected var types = new HashMap[String, String] # Get the type/subtype associated to a file extension `ext` @@ -106,4 +108,5 @@ class MediaTypes end end +# MIME types list. fun media_types: MediaTypes do return once new MediaTypes -- 1.7.9.5