Nobuyoshi Nakada
10/5/2006 1:12:00 AM
Hi,
At Thu, 5 Oct 2006 10:05:05 +0900,
suntou wrote in [ruby-talk:218070]:
> I need to use the zlib module, but when I put this code in:
>
> require 'zlib'
>
> class SController < ApplicationController
include Zlib
> def zip
> s = "Hello"
> defl = Deflate.new
> deflated = defl.deflate(s)
> render :inline => %{ #{deflated} }
> end
> end
--
Nobu Nakada