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!"
signature.asc
Description: PGP signature
_______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
