Hi, I'm having trouble setting up the mime-view.rb hook.

According to the wiki, there should be a "variable" content_type.  

But, here's my program:

    begin
       log content_type filename

    rescue
       log "Error: #{$!}"
    end

And here's what the log file says:

    hook[mime-view]: Error: undefined method `content_type' for 
#<Redwood::HookManager::HookContext:0x7f13003fe110>


Anyone got any ideas?

-- 
Bones: "The man's DEAD, Jim!"

Attachment: signature.asc
Description: PGP signature

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to