Getting mimetype of a file

anybody know how to get the mimetype of a file in ruby?

TIA

–SegPhault

http://www.halostatue.ca/ruby/MIME__Types

Regards,

  Michael

···

On Tue, Jun 01, 2004 at 05:03:40AM +0900, Ryan Paul wrote:

anybody know how to get the mimetype of a file in ruby?

I wrote an interface to libmagic:

http://mahoro.rubyforge.org

Someone else wrote one too, but apparently RAA is down (?) so I don’t
know where it is.

···

On May 31, 2004, at 16:03, Ryan Paul wrote:

anybody know how to get the mimetype of a file in ruby?


Lo-lee-ta: the tip of the tongue taking a trip of three
steps down the palate to tap, at three, on the teeth.
Lo. Lee. Ta. GUO Shu-yu shu@rufuran.org