4 FONTS = "\"Bitstream Vera Sans\", Verdana, Arial, Helvetica, sans-serif"
14 text-decoration: underline;
41 border: 1px dotted black;
59 font-family: monospace;
75 border: 1px solid #444;
80 background: transparent;
83 h1 a, h2 a, .sectiontitle a, .banner a {
87 h1 a:hover, h2 a:hover, .sectiontitle a:hover, .banner a:hover {
88 text-decoration: underline;
95 border: 1px dotted black;
96 margin: 0.5em 2em 0.5em 2em;
118 border: 1px dotted black;
123 font-family: monospace;
125 border-bottom: 1px dashed black;
126 margin-bottom: 0.3em;
127 padding-bottom: 0.1em;
130 .method .description, .method .sourcecode {
134 .description p, .sourcecode p {
135 margin-bottom: 0.5em;
138 .method .sourcecode p.source-link {
152 border: 1px solid black;
160 padding: 0.5em 1em 0.5em 1em;
161 border: 1px solid black;
169 padding: 0.2em 1em 0.2em 1em;
170 border: 1px dashed #000;
176 font-family: "Courier New", monospace;
178 border: 1px dotted #000;
184 margin: 0.25em 1em 0 1em;
193 XHTML_PREAMBLE = %{<?xml version="1.0" encoding="%charset%"?>
195 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
196 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
199 HEADER = XHTML_PREAMBLE + <<ENDHEADER
202 <title>%title%</title>
203 <meta http-equiv="Content-Type" content="text/html; charset=%charset%" />
204 <link rel="stylesheet" href="%style_url%" type="text/css" media="screen" />
205 <script language="JavaScript" type="text/javascript">
208 function toggleSource( id )
213 if( document.getElementById )
215 elem = document.getElementById( id )
216 link = document.getElementById( "l_" + id )
218 else if ( document.all )
220 elem = eval( "document.all." + id )
221 link = eval( "document.all.l_" + id )
226 if( elem.style.display == "block" )
228 elem.style.display = "none"
229 link.innerHTML = "show source"
233 elem.style.display = "block"
234 link.innerHTML = "hide source"
238 function openCode( url )
240 window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
250 <table border='0' cellpadding='0' cellspacing='0' width="100%" class='banner'>
252 <table width="100%" border='0' cellpadding='0' cellspacing='0'><tr>
253 <td class="file-title" colspan="2"><span class="file-title-prefix">File</span><br />%short_name%</td>
255 <table border='0' cellspacing="0" cellpadding="2">
260 (<a href="%cvsurl%">CVS</a>)
266 <td>%dtm_modified%</td>
275 ###################################################################
278 <table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
279 <td class="file-title"><span class="file-title-prefix">%classmod%</span><br />%full_name%</td>
281 <table cellspacing=0 cellpadding=2>
286 HREF:full_path_url:full_path:
288 (<a href="%cvsurl%">CVS</a>)
313 ###################################################################
318 <table cellpadding='0' cellspacing='0' border='0' width="100%"><tr><td align="center">
324 <div class="description">%description%</div>
328 <div class="sectiontitle">Required Files</div>
331 <li>HREF:aref:name:</li>
337 <div class="sectiontitle">Contents</div>
340 <li><a href="#%href%">%secname%</a></li>
346 <div class="sectiontitle">Methods</div>
349 <li>HREF:aref:name:</li>
355 <div class="sectiontitle">Included Modules</div>
358 <li>HREF:aref:name:</li>
365 <div class="sectiontitle"><a name="%secsequence%">%sectitle%</a></div>
367 <div class="description">
374 <div class="sectiontitle">Classes and Modules</div>
379 <div class="sectiontitle">Constants</div>
380 <table border='0' cellpadding='5'>
383 <td class="attr-name">%name%</td>
385 <td class="attr-value">%value%</td>
390 <td colspan="2" class="attr-desc">%desc%</td>
398 <div class="sectiontitle">Attributes</div>
399 <table border='0' cellpadding='5'>
407 <td class='attr-name'>%name%</td>
408 <td class='attr-desc'>%a_desc%</td>
417 <div class="sectiontitle">%type% %category% methods</div>
422 <a name="%aref%"></a><b>%callseq%</b>
425 <a name="%aref%"></a><b>%name%</b>%params%
428 [ <a href="javascript:openCode('%codeurl%')">source</a> ]
432 <div class="description">
438 This method is also aliased as
440 <a href="%aref%">%name%</a>
445 <div class="sourcecode">
446 <p class="source-link">[ <a href="javascript:toggleSource('%aref%_source')" id="l_%aref%_source">show source</a> ]</p>
447 <div id="%aref%_source" class="dyn-source">
464 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
466 <script type="text/javascript">
467 _uacct = "UA-837842-4";
474 BODY = HEADER + <<ENDBODY
475 !INCLUDE! <!-- banner header -->
477 <div id="bodyContent">
484 ########################## Source code ##########################
486 SRC_PAGE = XHTML_PREAMBLE + <<HTML
488 <head><title>%title%</title>
489 <meta http-equiv="Content-Type" content="text/html; charset=%charset%">
491 .ruby-comment { color: green; font-style: italic }
492 .ruby-constant { color: #4433aa; font-weight: bold; }
493 .ruby-identifier { color: #222222; }
494 .ruby-ivar { color: #2233dd; }
495 .ruby-keyword { color: #3333FF; font-weight: bold }
496 .ruby-node { color: #777777; }
497 .ruby-operator { color: #111111; }
498 .ruby-regexp { color: #662222; }
499 .ruby-value { color: #662222; font-style: italic }
500 .kw { color: #3333FF; font-weight: bold }
501 .cmt { color: green; font-style: italic }
502 .str { color: #662222; font-style: italic }
503 .re { color: #662222; }
506 <body bgcolor="white">
512 ########################## Index ################################
514 FR_INDEX_BODY = <<HTML
518 FILE_INDEX = XHTML_PREAMBLE + <<HTML
521 <meta http-equiv="Content-Type" content="text/html; charset=%charset%">
522 <link rel="stylesheet" href="%style_url%" type="text/css" media="screen" />
523 <base target="docwin">
526 <div class="banner">%list_title%</div>
527 <div class="entries">
529 <a href="%href%">%name%</a><br>
535 CLASS_INDEX = FILE_INDEX
536 METHOD_INDEX = FILE_INDEX
538 INDEX = XHTML_PREAMBLE + <<HTML
539 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
541 <title>%title%</title>
542 <meta http-equiv="Content-Type" content="text/html; charset=%charset%">
545 <frameset cols="20%,*">
546 <frameset rows="15%,35%,50%">
547 <frame src="fr_file_index.html" title="Files" name="Files" />
548 <frame src="fr_class_index.html" name="Classes" />
549 <frame src="fr_method_index.html" name="Methods" />
552 <frame src="%initial_page%" name="docwin">
555 <frameset rows="80%,20%">
556 <frame src="%initial_page%" name="docwin">
557 <frame src="blank.html" name="source">
561 <body bgcolor="white">
562 Click <a href="html/index.html">here</a> for a non-frames
563 version of this page.