[#407] New feature for Ruby? — Clemens.Hintze@...

Hi all,

27 messages 1999/07/01
[#413] Re: New feature for Ruby? — matz@... (Yukihiro Matsumoto) 1999/07/01

Hi Clemens,

[#416] Re: New feature for Ruby? — Clemens Hintze <c.hintze@...> 1999/07/01

On Thu, 01 Jul 1999, Yukihiro Matsumoto wrote:

[#418] Re: New feature for Ruby? — gotoken@... (GOTO Kentaro) 1999/07/01

Hi

[#426] Re: New feature for Ruby? — gotoken@... (GOTO Kentaro) 1999/07/02

Hi,

[#440] Now another totally different ;-) — Clemens Hintze <c.hintze@...>

Hi,

21 messages 1999/07/09
[#441] Re: Now another totally different ;-) — matz@... (Yukihiro Matsumoto) 1999/07/09

Hi,

[#442] Re: Now another totally different ;-) — Clemens Hintze <c.hintze@...> 1999/07/09

On Fri, 09 Jul 1999, you wrote:

[#443] — Michael Hohn <hohn@...>

Hello,

26 messages 1999/07/09
[#444] interactive ruby, debugger — gotoken@... (GOTO Kentaro) 1999/07/09

Hi Michael,

[ruby-talk:00524] Re: CGI.rb

From: Wakou Aoyama <wakou@...>
Date: 1999-07-24 23:16:33 UTC
List: ruby-talk #524
CGI.rb included rd(Ruby Document).

$ dr2html CGI.rb > CGI.rb.html

ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/dr2html

and other mirror site.


On Sun, Jul 25, 1999 at 04:59:12AM +0900,
OZAWA Sakuro <crouton@duelists.org> wrote:

> # sample
> headings = [ "Name",  "Age" , "Sex" ]
> rows = [
>          [ "Jack", "30", "M" ],
>          [ "Betty", "29", "F" ]
>        ] 
> 
> # x = CGI.new

require 'CGI'
x = CGI.new("html4")  # or html4Tr or html4Fr
                      # html3 is not support table element

> print x.table(headings, rows)

print x.table{
        x.tr{ headings.collect{|i| x.th{i} } } +
        rows.collect{|row|
          x.tr{ row.collect{|i| x.td{i} } }
        }.join("")
      }

> print x.table(headings, rows, true)

print x.table({"BORDER"=>true}){
        x.tr{ headings.collect{|i| x.th{i} } } +
        rows.collect{|row|
          x.tr{ row.collect{|i| x.td{i} } }
        }.join("")
      }

> print x.table(headings, rows, "5px")

print x.table({"BORDER"=>"5px"}){
        x.tr{ headings.collect{|i| x.th{i} } } +
        rows.collect{|row|
          x.tr{ row.collect{|i| x.td{i} } }
        }.join("")
      }


-- 
Wakou Aoyama <wakou@fsinet.or.jp>

In This Thread